On Tue, 23 Dec 2003, Antoine Lévy-Lambert <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]