ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Nested variable resolution - possible ???
Date Wed, 12 Feb 2003 20:27:54 GMT
Yes, with the <copyproperty> (or <propertycopy>) task of ant-contrib
(sf.net/projects/ant-contrib). --DD

-----Original Message-----
From: Hawkins, Keith [mailto:KHawkins@us.nomura.com] 
Sent: Wednesday, February 12, 2003 2:25 PM
To: 'Ant Users List'
Subject: Nested variable resolution - possible ???


I am looking to do something like the following:

some.property = ${ ${NestedVar}.suffix }

where if  ${NestedVar} is set to the value foo and ${foo.suffix} is set to
the value bar,  then some.property would get the value bar


Can such nested variable resolution be done in Ant?

Thanks,
Keith

Mime
View raw message