ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nardelli, Luca" <luca.narde...@wuerth-phoenix.com>
Subject Fork problem in the task "Java" with long classpath, on Windows OS.
Date Tue, 22 Nov 2005 15:20:52 GMT
Hi,
I wrote an Ant build.xml file and I'd like to use the Java task with a very long classpath.
I also need to use the "fork" property (fork="true") 
for setting the amount of memory available for the new JVM.

The task works fine on Linux and on Windows when I use the JRE 1.3.x, but 
I get an java.io.IOException: CreateProcess when I run the task on Windows with the JRE  1.4.2_05-b04
and Ant 1.6.1.
I also tried to increase the amount of environment space for the Windows shell (cmd.exe) in
order to avoid the truncation of the classpath
(i followed the informations present in the link http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17942)
I got this error:

[exec] C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\lib\bc\build.xml:434: 
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\lib\bc\build.xml:434: java.io.IOException:
CreateProcess: 
C:\java\j2sdk1.4.2_05\jre\bin\java.exe -Xmx1024m -classpath C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\lib\zeus\zeus.jar;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\acrobat\lib\MRJToolkitStubs.zip;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\acrobat\lib\acrobat.jar;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\acrobat\lib\ie-stubs.zip;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\acrobat\lib\java1.2-stubs.zip;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\acrobat\lib\netscape-stubs.zip;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\itext\lib\iTextAsian.jar;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\itext\lib\iTextAsianCmaps.jar;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\itext\lib\itext.jar;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\jaf\lib\activation.jar;
C:\nb_2_1_sup_jdo\benderIsTesting-zeus_2_1_sup\zeus\bart\l?

Have someone the same problem?
-- 
"..il mondo non lo abbiamo ricevuto in eredita' dai nostri padri
..lo abbiamo preso in prestito dai nostri figli"

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


Mime
View raw message