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.

--
[EMAIL PROTECTED]  x22801  netbeans.org  ant.apache.org
      http://google.com/search?q=e%5E%28pi*i%29%2B1


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to