ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Melih Önvural <melih.onvu...@gmail.com>
Subject Re: <foreach> behavior on properties... is it a bug? or by design?
Date Sat, 26 Sep 2009 05:23:04 GMT
Thanks a bunch for that!

--
Melih

On Sep 25, 2009, at 8:44 PM, Dominique Devienne wrote:

> On Fri, Sep 25, 2009 at 9:24 PM, Melih Onvural <melih.onvural@gmail.com 
> > wrote:
>> I noticed that when I run targets in a <foreach> loop, that they  
>> don't
>> know of properties that were set in previous targets or in targets
>> which are dependencies of the given target. As an example:
>
> Yep, by design. <foreach> uses a different Project for each iteration,
> just like <ant>, <antcall>, and <subant>. You want to use Ant- 
> Contrib's
> <for> task instead, and is newer and better. --DD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


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


Mime
View raw message