ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: jspc createProcess error
Date Mon, 13 Aug 2007 14:16:30 GMT
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


Mime
View raw message