ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <jesse.gl...@sun.com>
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.

-J.

-- 
jesse.glick@sun.com  x22801  netbeans.org  ant.apache.org
       http://google.com/search?q=e%5E%28pi*i%29%2B1


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message