You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by adam kopecky <ad...@seznam.cz> on 2010/06/07 07:34:32 UTC

Re: Nesting of Braces

You can use 
<a href="http://ant-contrib.sourceforge.net/tasks/tasks/propertycopy.html">PropertyCopy task</a>

Regards


> ------------ Původní zpráva ------------
> Od: GokulHCL <go...@gmail.com>
> Předmět: Nesting of Braces
> Datum: 27.5.2010 14:22:01
> ----------------------------------------
> 
> Hi 
> I am using ant 1.7. I have requirement to resolve two properties dynamically
> as shown below.
> 
> ${test.display.${dynamic}}
> 
> For Example:
> 
> I am loading three properties from a properties file say 
> 
> test.display.one=FIRST
> test.display.two=SECOND
> test.display.three=THIRD
> 
> The "dynamic" property will have the values such as one, two, three, based
> on this dynamic value I need to extract the values.
> 
> Thanks for your help in advance.
> Gokul
> -- 
> View this message in context:
> http://old.nabble.com/Nesting-of-Braces-tp28693161p28693161.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> 

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