ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: jspc createProcess error
Date Mon, 13 Aug 2007 14:06:05 GMT
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.

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


Mime
View raw message