ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Document <>
Subject How to use variable within a variable in ant?
Date Fri, 20 Mar 2009 00:41:24 GMT
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.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message