You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rebhan, Gilbert" <Gi...@huk-coburg.de> on 2005/08/24 08:49:59 UTC
container with for(each) loop for nested targets ?
Hi,
as i have no experience with macrodef/sequential yet, this
may be achieved with some kind of macrodef ...
is there some kind of container, providing a for(each) loop
with nested targets ?
background =
i have to edit an antscript that contains several foreach loops
with the same list property, calling different targets
----snipp---
<foreach list = "${aproperty}"
target = "target1"
...
/>
<foreach list = "${aproperty}"
target = "target2"
...
/>
<foreach list = "${aproperty}"
target = "target3"
...
/>
<foreach list = "${aproperty}"
target = "target3"
....
/>
----snipp---
Question =
Any ideas to solve that more elegant without n foreach loops ?
Maybe with non standard ant tasks ?
Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org