ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Winspur" <bwins...@wynnon.com>
Subject Re: Is there a difference between...
Date Tue, 19 Feb 2002 07:35:31 GMT
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" <fndsnd@rcnchicago.com>
To: <ant-user@jakarta.apache.org>
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:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message