http://ant.apache.org/faq.html#propertyvalue-as-name-for-property

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Document [mailto:[email protected]] 
>Gesendet: Freitag, 20. März 2009 01:41
>An: [email protected]
>Betreff: How to use variable within a variable in ant?
>
>Hi,
>I want to use a variable within variable scenario. For eg.
>
><property name="var1" value="somevar" />
><property name="somevar" value="anothervalue" />
>
>Now I want to use something like ${${var1}}  to retrieve 
>${somevar}. How do
>I do it? On unix shell, eval works fine but when I try ant 
>exec task to run
>eval, it doesnt recognize the command.
>
>Thanks
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to