ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sekar Varatharajan" <>
Subject Help - Passing Dynamic Values inside Script
Date Wed, 25 Jul 2001 17:54:20 GMT
Hi all,
I want to call a target from with an Script(java Script) which is in a loop
and i want to set a property value to be change on each iteration.
How can i do that???


for (i=0;i<=10;i++)
project.setProperty("projectName", "Value");

<target name="myTarget">
<cvsProject name = "${projectName}"

Now i want the Value of property "projectName" to be dynamically changing
for each iteration. The Best thing would be if i can read all those listed
"projectName" values from somewhere and pass it inside the Loop Each time
and set the property value each time.
Any Suggestions ???

View raw message