Re: Classloader reuse for tasks

2008-06-18 Thread Lucian Chirita
Steve Loughran wrote: Lucian Chirita wrote: Is there a way to reuse a classloader across several tasks? All the tasks refer the same classpath ID, and have fork="false". I thought setting ant.reuse.loader would take care of this, but it doesn't because the task does not use ClasspathUtil t

Re: Classloader reuse for tasks

2008-06-18 Thread Steve Loughran
Lucian Chirita wrote: Is there a way to reuse a classloader across several tasks? All the tasks refer the same classpath ID, and have fork="false". I thought setting ant.reuse.loader would take care of this, but it doesn't because the task does not use ClasspathUtil to Java tries to isol

Classloader reuse for tasks

2008-06-18 Thread Lucian Chirita
Is there a way to reuse a classloader across several tasks? All the tasks refer the same classpath ID, and have fork="false". I thought setting ant.reuse.loader would take care of this, but it doesn't because the task does not use ClasspathUtil to instantiate classloaders. Thank you, Luci