DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18256>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18256

ant.bat wrong syntax building classpath





------- Additional Comments From [EMAIL PROTECTED]  2003-04-03 15:03 -------
This is not a classloader issue. Classloaders do not have any issues with 
spaces. 

This line, however,

"D:\Program Files\j2sdk1.4.1_01\bin\java.exe" -classpath ""D:\Program Files\...

is a problem. It is running Ant with a classpath of D:\Program and trying to
execute the class starting with Files\... That is definitely a windows command
line issue. 

I'm pretty sure the doubling of quotes you report is not possible with the stock
ant.bat file - based on these two lines

if exist "%JAVA_HOME%\lib\tools.jar" set
LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%LOCALCLASSPATH%

and

"%_JAVACMD%" %ANT_OPTS% -classpath "%LOCALCLASSPATH%"

So, can you please double check that you have restored ant.bat. If you still
have problems, please zip up the complete echo output and we'll see what is 
next.

Thanks

Reply via email to