ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: Memory utilization on ANT 1.6.0
Date Wed, 07 Jan 2004 13:11:07 GMT
> From: Stefan Bodewig [mailto:bodewig@apache.org] 
> 
> 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.
> 

How does it work in 1.6? Does "ant A B" will still execute target "B"
twice?

I think we really need to define a clean-up hook-up for the tasks that
by default just removes the task from the RuntimeConfigurable or
UnknownElement
holder instance. 

Do not know all the consequences, but it seem like the right kind of
thing
to do.

Jose Alberto

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


Mime
View raw message