ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Classloader reuse for <java> tasks
Date Wed, 18 Jun 2008 16:58:10 GMT
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.

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


Mime
View raw message