Have a look at the <foreach/> task of ant-contrib.
Cheers,
Antoine
----- Original Message -----
From: "Roman Rytov" <rrytov@entopia.com>
To: <user@ant.apache.org>
Sent: Tuesday, July 29, 2003 9:57 PM
Subject: How to iterate in Ant?
Is there any way to iterate a collection? Let's say I wanna call a task
for each property in a file or for each file in a directory and pass a
name as a parameter of the task.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|