ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucian Chirita <>
Subject Re: Classloader reuse for <java> tasks
Date Thu, 19 Jun 2008 06:29:00 GMT
Steve Loughran wrote:
> Lucian Chirita wrote:
>> Is there a way to reuse a classloader across several <java> 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 <java> task does not use ClasspathUtil to 
> Java tries to isolate stuff, probably more than you want, to try and 
> create better isolation and less memory leaks. So no, I dont think you 
> can do this.

That makes sense.

Thank you.

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

View raw message