DO NOT REPLY [Bug 18256] - ant.bat wrong syntax building classpath
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
DO NOT REPLY [Bug 18256] - ant.bat wrong syntax building classpath
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Additional Comments From [EMAIL PROTECTED] 2003-03-28 01:56 --- Works for me D:\work\projects\cloverecho %JAVA_HOME% C:\Program Files\j2sdk1.4.1_01 D:\work\projects\cloverant -version Apache Ant version 1.6alpha compiled on March 27 2003 We've been through quite a few interations on this. Is your JAVA_HOME variable quoted - it should not be.
DO NOT REPLY [Bug 18256] - ant.bat wrong syntax building classpath
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME | --- Additional Comments From [EMAIL PROTECTED] 2003-03-28 14:37 --- It still doesn't work for me! I have also investigated a lot, and think the right solution is in quoting the single path elements while building the list. Quoting the finished list does not help! My settings: C:\echo %JAVA_HOME% D:\Program Files\j2sdk1.4.1 C:\ant -version Apache Ant version 1.5.2 compiled on February 28 2003 C:\
DO NOT REPLY [Bug 18256] - ant.bat wrong syntax building classpath
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-03-28 14:50 --- What is not working? You originally said it reported that the main class was not found yet your exmaple clearly shows Ant running.
DO NOT REPLY [Bug 18256] - ant.bat wrong syntax building classpath
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-03-28 15:05 --- Well naturally it works, after I have applied the changes in antrun.bat. I have corrected it for me and thought it would be appreciated if I submit this correction, for the rest of comunity. It would be also nice to find it in the next version and not have to reaply the change every time.
DO NOT REPLY [Bug 18256] - ant.bat wrong syntax building classpath
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-03-23 10:17 --- Created an attachment (id=5469) corrected ant.bat
DO NOT REPLY [Bug 18256] - ant.bat wrong syntax building classpath
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-03-23 10:23 --- Created an attachment (id=5470) The right version - sorry for the first one (stupid echo on and small diff at the and)