Did you loop through targets using for loop?? If so, please let me know some example.
Thanks. Melih Onvural wrote: > > 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 <[email protected] >> > 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: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/%3Cforeach%3E-behavior-on-properties...-is-it-a-bug--or-by-design--tp25621716p26285979.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
