ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/antTask.java
Date Fri, 12 Jan 2001 05:51:25 GMT
At 09:49  11/1/01 -0800, James Duncan Davidson wrote:
>On 1/8/01 8:51 AM, "bodewig@apache.org" <bodewig@apache.org> wrote:
>
>> -  <li><code>execute()</code> is called at runtime.</li>
>> +  <li><code>execute()</code> is called at runtime. While the above
>> initialization 
>> +    steps only occur once, the execute() method may be
>> +    called more than once, if the task is invoked more than once. For
>> example, 
>> +    if target1 and target2 both depend on target3, then running
>> +    "ant target1 target2" will run all tasks in target3 twice.</li>
>
>I guess this is really a legacy of how the current tree is formed. For Ant
>2.0, with late binding of all property values and late creation of the
>actual TaskActions, this wouldn't necessarily be the case.

I am not sure Ant2.0 will actually allow manipulation of instances in this
manner thou ? Or do you see it as desirable?
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message