ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: [DISC] details of task library concept
Date Wed, 23 May 2001 04:07:25 GMT
At 11:44 AM 5/22/01 -0400, Daniel Barclay wrote:
>Stefan Bodewig wrote:
>> But we've been thinking about something like an ANT_HOME/ext directory
>> where all tasks libraries living there would automatically be detected
>> and added by Ant.
>Would we need a separate directory (from $ANT_HOME/lib)?  $ANT_HOME/lib 
>already contains extensions in the sense of added classes available to Ant.

one contains jar files that are injected into whole ant runtime and one
contains task/datatypes/whatever that will need protection via separate

>Ant could probably scan all Jar files (or directory hierarchies) in the 
>class path for task definitions with a single call to 
>ClassLoader.getResources( "taskdefs.xml" ).  (Note the plural.)

If we were using the primeordial classloader then that would be good but we
will not be so ... ;(



| "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               |

View raw message