ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob H - VSCM" <Anderson....@vectorscm.com>
Subject RE: Nested variable resolution - possible ???
Date Wed, 12 Feb 2003 20:28:40 GMT
Attached is my response to a similar question. Hope this helps...

-Rob A

-----Original Message-----
From: Hawkins, Keith [mailto:KHawkins@us.nomura.com]
Sent: Wednesday, February 12, 2003 12: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

-----  This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please delete it and all copies from your
system, destroy any hard copies and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. Nomura Holding
America Inc., Nomura Securities International, Inc, and their respective
subsidiaries each reserve the right to monitor all e-mail communications
through its networks. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorized to state the views of such entity. Unless otherwise stated,
any pricing information in this message is indicative only, is subject to
change and does not constitute an offer to deal at any price quoted. Any
reference to the terms of executed transactions should be treated as
preliminary only and subject to our formal written confirmation.


Mime
View raw message