ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: trouble with ant.classloader
Date Fri, 27 Jun 2003 09:21:06 GMT
On Thu, 26 Jun 2003, Ferit Albukrek <>

> 2. Even though <property name="build.sysclasspath" value="ignore"/>
> is in the build.xml file, ant does not ignore the CLASSPATH
> environment variable from within the shell in the second case.

This is because of Ant's delegating classloader currently in use.

> What I am trying to do: * Have a build process that does not require
> and external CLASSPATH to be set.

Take a look at <taskdef>'s loaderref attribute.  Tasks that use the
same loaderref attribute will be loaded via the same classloader


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message