(Not sure to which list it belongs, for that matter I don't even know if
this list is active)
Often I get the dreaded build fail error when I use fork="yes" in the <java>
task.
I never saw this behavior with the ant used inside Cocoon 1.8.2 however I
have now updated to ant 1.2.2
If I turn off forking, then the build process doesn't work proeperly. (I'm
using stylebook to generated my docs and it absolutely needs a forked java
otherwise it exits the java used by ant).
Can you tell me how to solve this problem ? (Is there a patch, or an
argument I need to provide ?)
PS The output is after my sig
Philippe Lavoie
Software Engineer tel: 819.778.0345 mobile:
819.664.9881
Cactus Communications Internet email: [EMAIL PROTECTED]
/home/plavoie/project/vbc/build.xml:185: java.io.IOException: java: cannot
execute
java.io.IOException: java: cannot execute
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:137)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.jav
a:390)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:247)
at org.apache.tools.ant.taskdefs.Java.run(Java.java:270)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:111)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:86)
at org.apache.tools.ant.Target.execute(Target.java:142)
at org.apache.tools.ant.Project.runTarget(Project.java:818)
at org.apache.tools.ant.Project.executeTarget(Project.java:532)
at org.apache.tools.ant.Project.executeTargets(Project.java:506)
at org.apache.tools.ant.Main.runBuild(Main.java:420)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 2 seconds