https://issues.apache.org/bugzilla/show_bug.cgi?id=44849
--- Comment #1 from Peter Reilly <[EMAIL PROTECTED]> 2008-04-21 15:30:31 PST --- ?why is this a bug? ant.jar is *not* meant to be on the classpath, I have *no* idea why it would work with ant 1.6.2 as the way that ~/.ant/lib and $ANT_HOME/lib work is that ant_launcher.jar creates a classloader that contains ant.jar + all the jars in $ANT_HOME/lib + all the jars in ~/.ant/lib and any jars in directories specified on the the command line specified by -lib. This means that ant.jar classes have (import) access to jars in ~/.ant/lib and $ANT_HOME/lib - which is the way that optional tasks work. If ant.jar is on the classpath, this mechanism does not work. (I.e the jpackage version of ant does not support ~/.ant/lib). Peter -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
