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 13:55 ------- Hi again, Like I wrote before instead of quoting whole result classpath single components, that are concatenated should be quoted, then there will be no problem independently of Windows version. BTW it's not windows having problem with classpath, but java classloader that doesn't get the right path. Path should be determined by tokenizing the string that is ; delimited and blanks should play no role, but, it's software like any other. Please check results of commands here, I hope this will help to understand the problem. I have restored old ant.bat and put echo on cmd just before runJavaCmd , so that the problem becomes more visible. ------------------- this is result of comands C:\Documents and Settings\u0ila>echo %JAVA_HOME% D:\Program Files\j2sdk1.4.1 C:\Documents and Settings\u0ila>ant -version C:\Documents and Settings\u0ila>"D:\Program Files\j2sdk1.4.1_01\bin\java.exe" - c lasspath ""D:\Program Files\j2sdk1.4.1_01\lib\tools.jar";D:\Program Files\jakart a-ant-1.5.1\lib\xml-apis.jar;D:\Program Files\jakarta-ant-1.5.1 \lib\xercesImpl.j ar;D:\Program Files\jakarta-ant-1.5.1\lib\optional.jar;D:\Program Files\jakarta- ant-1.5.1\lib\ant.jar;" "-Dant.home=D:\Program Files\jakarta-ant-1.5.1" org.apa che.tools.ant.Main -version Exception in thread "main" java.lang.NoClassDefFoundError: Files\j2sdk1/4/1_01 \l ib\tools/jar;D:\Program Files\jakarta-ant-1/5/1\lib\xml-apis/jar;D:\Program File s\jakarta-ant-1/5/1\lib\xercesImpl/jar;D:\Program Files\jakarta-ant-1/5/1 \lib\op tional/jar;D:\Program Files\jakarta-ant-1/5/1\lib\ant/jar;