ant-user mailing list archives

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

> 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.
<http://ant.apache.org/faq.html#delegating-classloader>

> 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
instance.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message