On Fri, 19 Sep 2003 12:18 am, Stefan Bodewig wrote:
> On Fri, 19 Sep 2003, Conor MacNeill <[EMAIL PROTECTED]>
> > 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.

I'm not sure that is true. the Launcher classloader will contain all the jars 
in the $ANT_HOME/lib dir (and a few others) but it will not contains jars 
from the CLASSPATH variable. These are available because of the delegation.

Conor



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

Reply via email to