ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Memory utilization on ANT 1.6.0
Date Wed, 07 Jan 2004 09:12:52 GMT
On Tue, 23 Dec 2003, Antoine Lévy-Lambert <antoine@antbuild.com>
wrote:

> Because of these type of issues, a  number of tasks which in the
> execute method are changing instance variables are resetting these
> instance variables at the end of the execute method.

Historically the tasks are doing so for a different reason.  In Ant 
< 1.6 task instances could get reused.  Say you have target A
depending on B and somebody runs "ant A B", then B will get executed
twice and reuse the instances created in the first execution on the
second run.

AFAIU task instances are no longer supposed to get reused that way in
1.6 and thus the guarding code should be obsolute now.

Stefan

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


Mime
View raw message