ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [DISC] details of task library concept
Date Wed, 23 May 2001 15:14:08 GMT
At 10:41 AM 5/23/01 -0400, Daniel Barclay wrote:
>Peter Donald wrote:
>> 
>> At 11:44 AM 5/22/01 -0400, Daniel Barclay wrote:
>...[$ANT_HOME/ext directory vs. $ANT_HOME/lib]
>
>> one contains jar files that are injected into whole ant runtime and one
>> contains task/datatypes/whatever that will need protection via separate
>> classloaders.
>
>What kind of protection?  (Making sure classes in one don't depend on
>classes in another without explicit declaration of dependency?
>Something else?)

Some tools cache things in static variables and need to be "refreshed"
every run (ie stylebook and some javac impls), others rely on incompatible
libraries (ie SAX1 vs SAX2, DOM1 vs DOM2 etc), and others may be different
versions of same tool (ie may need to keep old version around for some
compatibility reason or people may accidently use same class names etc).

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message