ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: AW: Reversing a list
Date Thu, 06 Aug 2009 07:11:38 GMT
>"Try giving the property a new name"
>
>I didnt get this.. 
>pls can u explain ??

In your script is:

<groovy>
   //Here i am  accessing list as   "project.references.varId.list" . It
will give its values
   // Here i am doing all operation do reverse and filter
   //then i am doing  
   project.references.varId.list = newList
<groovy>

So you are reading project.references.varId.list and storing a new value
into it.
I dont know if Groovy tries to access the value directly or use accessor
methods.
The accessor methods dont allow to change existing values.


Jan

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


Mime
View raw message