Using antcall, the called target (it seems ant actually sees it as another
project - but the doc is not defintive to me), cannot set properties in the
calling project, whereas forcing target execution via depends does allow
this.

Bill.
----- Original Message -----
From: "Michael J McGonagle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 11:41 PM
Subject: Is there a difference between...


> Hello all,
>
> I have been thinking about how to factor out some things in my build
> file, and as part of this I want to create a third target that call two
> others. My question is if there is any functional difference between the
> two following piece of xml...
>
> <target name="myCompoundTarget" depends="subTarget1, subTarget2" />
>
> <target name="myCompoundTarget">
> <antcall target="subTarget1" />
> <antcall target="subTarget2" />
> </target>
>
> Thanks,
>
> Mike
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to