ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Amerige <Steve.Amer...@sas.com>
Subject Re: Equivalent: antcall with inheritrefs vs. runtarget
Date Fri, 08 Jul 2011 15:42:12 GMT
Thanks, Nathan.  So, aside from performance and implementation issues, are they equivalent?
 That is, is there anything observable 
in a script as a practical matter between these two idioms?  If not, I'd think I'd usually
want runtarget instead of antcall with 
inheritrefs=true.

On 7/8/2011 11:27 AM, Perrier, Nathan wrote:
> No, because antcall creates a new project underneath the hood, whereas runtarget (antcontrib
task) does not.
>
> -----Original Message-----
> From: Steve Amerige [mailto:Steve.Amerige@sas.com]
> Sent: Friday, July 08, 2011 10:21 AM
> To: Ant Users List
> Subject: Equivalent:<ant
>
> Are the two statements below equivalent?
>
> <antcall target="doit" InheritRefs="true" />
> <runtarget target="doit" />
>
> Enjoy,
> Steve Amerige
> SAS Institute, Deployment Software Developer



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


Mime
View raw message