On Wed, 27 Feb 2002, Vincent Massol <[EMAIL PROTECTED]> wrote:

> I have just discovered today that Ant seems to put java.class.path
> by default in the task classpath. Thus, the second pathelement entry
> is actually not needed.

Hmm, no, not really.

Ant uses a delegating class loader, i.e. it will ask the system
classloader to load your task before even looking at the classpath you
have specified (and that's the reason why the build.sysclasspath
setting doesn't change anything).

<taskdef> has an undocumented and deprecated reverseloader attribute
that would make Ant consult the classpath you have specified before it
asks the system classloader.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to