Erm, yes, that's the point. I want to be able to declare my dependencies
(for example, so that I can expect 'ant worker' to work as well as 'ant
master') without getting required targets executed repeatedly.

L.

On 9/2/02 5:49 PM, "Nicola Ken Barozzi" <[EMAIL PROTECTED]> wrote:

> 
> 
> Laurie Harper wrote:
>> Is there a way to use antall or something similar that maintains the
>> dependency graph? For example, if I have:
>> 
>> <project name="..." default="master">
>>   <target name="init">
>>     <echo message="init"/>
>>   </target>
>>   <target name="worker" depends="init">
>                          ^^^^^^^^^^^^^^^^^
>   <target name="worker">
> 
>>     <echo message="worker: ${x}"/>
>>   </target>
>>   <target name="master" depends="init">
>>     <antcall target="worker"><param name="x" value="y"/></antcall>
>>     <antcall target="worker"><param name="x" value="z"/></antcall>
>>   </target>
>> </project>
>> 
>> Then running ant causes 'init' to be invoked 3 times. I only want it to be
>> executed once.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to