ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: new Launcher and CLASSPATH
Date Thu, 18 Sep 2003 14:18:37 GMT
On Fri, 19 Sep 2003, Conor MacNeill <conor@cortexebusiness.com.au>
wrote:

> The issue comes from getting it to not delegate.

I know.

> This approach in the end is really the same as not using the
> CLASSPATH variable. After all, if we don't delegate, we wont find
> the classes the user has put in their classpath which brings us back
> to square 1.

Not in this case, as the classloader created in Launcher contains all
that's been in the CLASSPATH already itself.  It will find all classes
the system classloader can find itself.  Except for the bootstrap
class loader, that is.

> We can enforce ignore CLASSPATH in the scripts so why not just do
> that forcibly ignore the CLASSPATH variable.

Sure, that's the other option - along with telling people to use Main
instead of Launcher if they need the old behavior (like Gump or maybe
the IDE integration folks).

Stefan

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


Mime
View raw message