On Mon, 25 Feb 2002 16:32, Conor MacNeill wrote:
> > From: Peter Donald [mailto:[EMAIL PROTECTED]
> >
> > > 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>