ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: How to provide reusable ClassPaths in ANT
Date Thu, 19 Dec 2002 19:32:21 GMT
See also , which sounds very similar to
what's being discussed here, for either ideas or to actually use... --DD

-----Original Message-----
From: Darrell DeBoer [] 
Sent: Tuesday, December 17, 2002 6:25 PM
To: Ant Developers List
Subject: Re: How to provide reusable ClassPaths in ANT

On Wed, 18 Dec 2002 01:48, Costin Manolache wrote:
> BTW, JMX has an interesting model with a loader repository where all
> class loaders are registered, and it'll look into all loaders in a
> repository when trying to create an mbean. ( you can also request an
> explicit loader).

Indeed. Adam Murdoch coded up something very similar in the Myrmidon
I think. From memory, this development allowed a classloader to be made up
an aggregation of delegate classloaders, instead of requiring a simple tree 
of classloaders (where common stuff must be in a common ancestor). This way,

2 classloaders that need classes in common could share a classloader that 
loaded those classes, without needing to load those classes in a common 
ancestor. (I'm sure Adam can explain it all a lot better than I).

Might be worth having a look at the code - even if it's just for ideas.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message