On Sat, 17 Nov 2001 01:47, Mark Claassen wrote:
> > The class you are looking up should be in the same classloader or
> > a parent
> > classloader of your task. So if your task is loaded from ant/lib then the
> > other class must also be in ant/lib etc.
>
> Does ant use a different class loader for every task definition? 

Not at the moment. It follows standard rules of Java2 classloading - just 
that ant/lib happens to be in system classloader. Any taskdef will use a new 
ClassLoader so any task that is loaded via taskdef (and isn't in system 
ClassLoader) will use a new ClassLoader.


> > Cheers,
> >
> > Pete
> >
> > ---------------------------------
> > I think not; therefore I ain't...
> > ---------------------------------
> >
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]> For additional commands,
> > e-mail: <mailto:[EMAIL PROTECTED]>

-- 
Cheers,

Pete

------------------------------------------------------
 Mark Twain: "In the real world, the right thing never
happens in the right place at the right time. It is 
the task of journalists and historians to rectify 
this error."
------------------------------------------------------

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

Reply via email to