ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: jspc createProcess error
Date Mon, 13 Aug 2007 15:28:33 GMT
you're going to have to look into saving some real-estate..I would suggest 2 
approaches
-if Windows use the shortened pathname e.g. C:\Program Files becomes 
C:\PROGRA~1
-use environment vars for each and every installation
e.g.
when %JAVA_HOME% is in your root folder you new path would be
PATH="%JAVA_HOME%\bin;%PATH%

HTH/
Martin Gainty

______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official 
business of Sender. This transmission is of a confidential nature and Sender 
does not endorse distribution to any party other than intended recipient. 
Sender does not necessarily endorse content contained within this 
transmission.





>From: "Peter Reilly" <peter.kitt.reilly@gmail.com>
>Reply-To: "Ant Users List" <user@ant.apache.org>
>To: "Ant Users List" <user@ant.apache.org>
>Subject: Re: jspc createProcess error
>Date: Mon, 13 Aug 2007 15:16:30 +0100
>MIME-Version: 1.0
>Received: from mail.apache.org ([140.211.11.2]) by 
>bay0-mc7-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 
>13 Aug 2007 07:17:10 -0700
>Received: (qmail 12865 invoked by uid 500); 13 Aug 2007 14:17:04 -0000
>Received: (qmail 12854 invoked by uid 99); 13 Aug 2007 14:17:04 -0000
>Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)  
>   by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 07:17:04 -0700
>Received: pass (athena.apache.org: domain of peter.kitt.reilly@gmail.com 
>designates 64.233.182.189 as permitted sender)
>Received: from [64.233.182.189] (HELO nf-out-0910.google.com) 
>(64.233.182.189)    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 
>2007 14:17:00 +0000
>Received: by nf-out-0910.google.com with SMTP id d21so504351nfb        for 
><user@ant.apache.org>; Mon, 13 Aug 2007 07:16:38 -0700 (PDT)
>Received: by 10.82.126.5 with SMTP id y5mr8238056buc.1187014590646;        
>Mon, 13 Aug 2007 07:16:30 -0700 (PDT)
>Received: by 10.82.117.3 with HTTP; Mon, 13 Aug 2007 07:16:30 -0700 (PDT)
>X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
>X-Message-Info: 
>JGTYoYF78jG7iTdLIf7qUeHx6Onk4fApdqm9uecPTgBdO+3xihr6pQ/5ffWtTDAsMzPAV1zfWPXoVt/2u7dScg==
>Mailing-List: contact user-help@ant.apache.org; run by ezmlm
>Precedence: bulk
>List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
>List-Help: <mailto:user-help@ant.apache.org>
>List-Post: <mailto:user@ant.apache.org>
>List-Id: "Ant Users List" <user.ant.apache.org>
>Delivered-To: mailing list user@ant.apache.org
>X-ASF-Spam-Status: No, hits=-0.0 required=10.0tests=SPF_PASS
>X-Spam-Check-By: apache.org
>DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;        d=gmail.com; s=beta;  
>       
>h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;

>        
>b=q82fjaEQ6XMcObsVIg1w78JM4mMbABeGR8atVla8k2gWKSQoO9+Ia0yYH5+ePNcAXenV3jdiPKHKgksRAkPrFPRRvz5DLByXIJbgJ6qRB66vLjjbf6bY9LYxr10AghHME+V2PHnsQXFqmwIqEjoLjWzodZM/daQ/j4D/54qQkwk=
>DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=beta;       
>  
>h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;

>        
>b=f4zuFKsK/kOjcr3t8ujKXAgiekKncUGBmFePEBqyuUzQ0c38eS/g76/5O2zZlYDRY6LJy1k/ZCQzCgyx2H0l7uLN45J548k2jeO0DQdcqhgIEM+5M4dhkEcAzgx2r6+fWcrIPsZc/iAY5LPSJwfUby3YBhT2cQ8PYhsXaDuyZoU=
>References: <469958e20708130628m25140a4au1e81b0c6e4fbc78a@mail.gmail.com> 
><46C0654D.8040702@apache.org>
>X-Virus-Checked: Checked by ClamAV on apache.org
>Return-Path: user-return-61780-mgainty=hotmail.com@ant.apache.org
>X-OriginalArrivalTime: 13 Aug 2007 14:17:10.0673 (UTC) 
>FILETIME=[A349E810:01C7DDB4]
>
>On 8/13/07, Steve Loughran <stevel@apache.org> wrote:
> > edward pedersson wrote:
> > > Hi
> > >
> > > I am using  Ant version 1.6.5 and I am getting a createProcess error
> > > when running the jspC task. I have search the archives and could not
> > > find an answer that could help me. This is the problem I am getting
> > >
> > >
> > > BUILD FAILED
> > > 
>C:\MyProgramFiles\Bamboo\web_stuff\xml-data\build-dir\EQUITY-TRUNK\src\java\buil
> > > d.xml:585: java.io.IOException: CreateProcess: "C:\Program 
>Files\Java\jdk1.5.0_0
> > > 6\jre\bin\java.exe" -classpath 
>C:\MyProgramFiles\Bamboo\web_stuff\xml-data\build
> > > 
>-dir\EQUITY-TRUNK\src\java\lib\commons-logging-api.jar;C:\MyProgramFiles\Bamboo\
> > > 
>web_stuff\xml-data\build-dir\EQUITY-TRUNK\src\java\lib\commons-logging.jar;C:\My
> > > 
>ProgramFiles\Bamboo\web_stuff\xml-data\build-dir\EQUITY-TRUNK\src\java\lib\jsf\c
> > > 
>ommons-el.jar;C:\MyProgramFiles\Bamboo\web_stuff\xml-data\build-dir\EQUITY-TRUNK
> > > 
>\src\java\lib\jsf\el-api.jar;C:\MyProgramFiles\Bamboo\web_stuff\xml-data\build-d
> > > 
>ir\EQUITY-TRUNK\src\java\lib\jsf\el-ri.jar;C:\MyProgramFiles\Bamboo\web_stuff\xm
> > > 
>l-data\build-dir\EQUITY-TRUNK\src\java\lib\jsf\jsp-api.jar;C:\MyProgramFiles\Bam
> > > 
>boo\web_stuff\xml-data\build-dir\EQUITY-TRUNK\src\java\lib\jsf\jsf-api.jar;C:\My
> > > 
>ProgramFiles\Bamboo\web_stuff\xml-data\build-dir\EQUITY-TRUNK\src\java\lib\jsf\j
> > > 
>sf-impl.jar;C:\MyProgramFiles\Bamboo\web_stuff\xml-data\build-dir\EQUITY-TRUNK\s
> > > 
>rc\java\lib\jsf\jstl.jar;C:\MyProgramFiles\Bamboo\web_stuff\xml-data\build-dir\E
> > > QUITY-TRUNK\src\ö
> >
> > There's nothing obvious here other than the fact that, for some reason,
> > it can't start the process. It could just be the command line was too
> > long, though I thought the <java> task was smart enough to handle that.
>
>It does look like the line length is too long.
>The length up to the funny o character is 1022 characters, very near
>the mythical 1024 line limit of nt.
>
>Peter
>
> >
> > To be honest, I dont recommend using <jspc>. it is troublesome, and it
> > cant handle complex JSP dependencies (taglibs) or changes in JSP file
> > renaming rules. Better to use something like httpunit, lift, or selenium
> > to test the deployed pages one by one. you get the JSP compilation for
> > free as part of the test deployment.
> >
> > If you havent tried selenium, check out the new firefox-based action
> > recorder, which makes writing test cases easy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>

_________________________________________________________________
See what you’re getting into…before you go there 
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message