See also http://classworlds.werken.com/ , which sounds very similar to what's being discussed here, for either ideas or to actually use... --DD
-----Original Message----- From: Darrell DeBoer [mailto:[EMAIL PROTECTED] 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 proposal, I think. From memory, this development allowed a classloader to be made up of 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. -- ciao, Daz -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>