On Thu, 19 Jul 2001, Conor MacNeill wrote:

> BTW, can you give us the motivation for why these tasks need to be in the
> same classloader.

See my reply to Peter.

Cooperating tasks are very important to insure clean design of the tasks
and clean structure for the XML file. In the current ant, you can have
tasks cooperating only if they are loaded with the system class loader or
if they "cooperate" by only sharing properties ( Strings or with a simple
hack any other objects that are loaded by the system class loader ).

The problem can be solved by putting things in classpath, but that's
difficult for the user ( just calling ant, and letting it deal with
finding the classes and setting the env is far easier ).



Costin


Reply via email to