ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <>
Subject Re: classloader for 1.7
Date Mon, 28 Aug 2006 22:43:14 GMT
Peter Reilly wrote:
> The antlibs solution would be ok, but it does not solve ant optional tasks

Perhaps we could arrange for tasks in the standard distribution not to 
be loaded until actually used. (This might be a performance win anyway.) 
Rather, the Ant core would create a new AntClassLoader in which all 
tasks were loaded (unless an explicit <classpath> were given to 
<taskdef>). Then you could have a task similar to <classloader> which by 
default appended entries to this secondary class loader. E.g.

<lib file="libs/oro.jar"/>
<replaceregexp .../>

Then the URLClassLoaderAdapter would be unnecessary since the Ant core 
class loader would never need to be touched.


--  x22801*i%29%2B1

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

View raw message