Hello people 

I have used javascript code written above and i gave new proerty name for
each iteration while calling javascript scriptdef.. It works fine..

Thanks for useful replies :)




Joshua Wunder-2 wrote:
> 
> For these situations I like to use the following:
> 
> http://ant-contrib.sourceforge.net/tasks/tasks/variable_task.html
> 
> -----Original Message-----
> From: Raagu [mailto:rknilekani2...@gmail.com] 
> Sent: Wednesday, August 05, 2009 16:36
> To: user@ant.apache.org
> Subject: Re: AW: AW: Reversing a list
> 
> 
> "Try giving the property a new name"
> 
> I didnt get this.. 
> pls can u explain ??
> 
> 
> 
> 
> Jan.Materne wrote:
>> 
>>>How can i access the the newlist here (outside <groovy> task)
>>>I tried             ${list}
>>>But it is giving old values .. which is set initially..
>>>please do reply.
>> 
>> Maybe you are not doing anything wrong.
>> Properties in Ant are immutable. Try giving the property a new name.
>> 
>> Jan
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
>> For additional commands, e-mail: user-h...@ant.apache.org
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Reversing-a-list-tp24823814p24827129.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Reversing-a-list-tp24823814p24840410.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to