e is 1
counter: 2
value is NOT 1
counter: 3
value is NOT 1
hth.
-ryano
- Original Message -
From: "broken connection"
To: "Ant Users List"
Subject: Help with iteration in for loop
Date: Tue, 3 Jul 2007 09:57:37 -0400
Hi Friends,
Is there any way to control i
roken connection"
To: "Ant Users List"
Subject: Help with iteration in for loop
Date: Tue, 3 Jul 2007 09:57:37 -0400
Hi Friends,
Is there any way to control iteration in ant. I want to put an
if-else
condition in the for loop to control the action depending upon the
itera
Properties are immutable. Run the build file with -verbose and you will
probably see that count is not being updated because it is already set.
Once set a property will not be set a different value.
That said, I think there is a way to use ant-contrib to do this. Look at
the math property task
Hi Friends,
Is there any way to control iteration in ant. I want to put an if-else
condition in the for loop to control the action depending upon the iteration
count.I tried this:
build.xml
counter: ${count}
value.properties file:
count=0