DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36171>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36171 Summary: -noclasspath crashes ant if no system classpath is set Product: Ant Version: 1.6.5 Platform: PC OS/Version: other Status: NEW Severity: critical Priority: P1 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] On a Windows machine without a 'CLASSPATH' environment variable defined, running "ant -noclasspath" or having "-noclasspath" set anywhere in 'ANT_ARGS' causes ant to fail with "Unknown argument: -noclasspath" followed by the help message. This is due to a bug in Launcher.java as well as a couple bugs in the ant.bat file. I am attaching a patch to fix Launcher.java (which will fix ant.bat's problems as well) and also, I suggest reverting ant.bat back to revision 1.38 before these bugs where introduced in it. The rollback of ant.bat is because the "-noclasspath" argument is handled by Launcher.java and therefore does not need to be/should not be handled within ant.bat (where added complexity is unecessary and causes other bugs. Plus ant.bat should mimic the ant shell script which lets Launcher handle the "-noclasspath" argument). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]