ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: [PROPOSAL] No need for CLASSPATH in ANT1
Date Tue, 06 Nov 2001 18:23:51 GMT

This has already been approved for Ant2. IIRC Conor actually did some work 
and got this working with Ant1.x a while back (or am I imagining things?). 

The problem was that it is not backwards compatible and several tasks make 
the assumption that the system classloader contains the ant classes. Hence we 
can't really implement it in Ant1.

On Wed, 7 Nov 2001 00:26, Jose Alberto Fernandez wrote:
> Hi,
> I have been working for a while on how to remove the need to much with the
> classpath in order to use ANT. The idea is to have a very small loader
> which is used as the basis to load all the actual classes of ANT1.
> The bulk of the loader (MainClassLoader) is based on AntClassLoader code
> after removing all references to ANT defined objects. The next step would
> be to rewrite AntClassLoader as an extension of this class which should be
> extremely simple to do.
> Here is the code I have, it is not in the current ANT packages hierarchy,
> that is for you to concider. MainClassLoader may be a candidate for
> jakarta-commons.
> This code makes the java.class.path by simply "antloader.jar" which means
> that tasks that require to look at this property in order to do its job may
> need some rework (e.g., jikes).
> Jose Alberto



Murphy's law - "Anything that can go wrong, will." 
(Actually, this is Finagle's law, which in itself 
shows that Finagle was right.)

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

View raw message