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=33486>. 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=33486 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2005-02-10 12:29 ------- I am going to close this as FIXED in cvs (see part 2 below). A couple of points. 1) setting CLASSPATH is evil (tm) this has been the root cause of a huge number of strange things happening. In the next release of ant, an extra command line argument -noclasspath will be supported. 2) in this case, there is a bug in ant 1.6.2 when the CLASSPATH contains a directory, the bug is that jars in the directory is loaded into the classloader - this is not correct behaviour 3) ant code detects where the tools.jar is and adds it to the the classpath - it is done at the end of the adding so the tools.jar is at the end of lookup for Javac class. A Javac eariler in the classpath will be picked up first. This is not a bug, the user has given ant an incorrect environment, so the consequences are going to be undetermined. -- 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]