ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: We need to stop the lies
Date Mon, 25 Feb 2002 07:33:35 GMT
On Mon, 25 Feb 2002 16:32, Conor MacNeill wrote:
> > From: Peter Donald [mailto:peter@apache.org]
> >
> > > Does mutant or myrmidom proposals do this right now?
> >
> > nope.
> >
> > > What antlib's does is exactly classloader agregation. What I
> >
> > remember from
> >
> > > the ANT2 proposals (do not remember which) required one to give a
> > > global name to the library in a descriptor, and then it required one to
> > > declare that the library "extends" another. And that was implemented by
> >
> > parenting.
> >
> > Mutant does that. Myrmidon just declares dependencies via the JDK1.3
> > "Optional Package" spec on libraries and then all dependencies
> > will loaded
> > into same classloader (unless they already exist in parent ClassLoader).
>
> The problem with this is that it will load the same class with separate
> loaders 

yep.

> which means that antlibs will not be able to share classes,
> especially datatypes.

Can't have your cake and eat it to. Thats why there is roles (one way of 
solving this) and the "Shared" ClassLoader - like the TC4 "Shared" 
ClassLoader when roles are inadequete.

-- 
Cheers,

Pete

----------------------------------------
Whatever you do will be insignificant, 
but it is very important that you do it. 
                              --Gandhi
----------------------------------------

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


Mime
View raw message