ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: Property Task -- Nested Property Composition
Date Fri, 21 May 2004 17:24:51 GMT
see:
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property

Peter

Jack Woehr wrote:

>Jack Woehr wrote:
>
>  
>
>>I'm disappointed the following doesn't work!
>>
>>    
>>
>
>Oops, left a line out of the example ...
>
>
>     <property name="which.choice" value="one"/>
>     <property name="choice.one" value="Choice one"/>
>     <property name="choice.two" value="Choice two" />
>     <property name="choice" value="${choice.${which.choice}}" />    <!-- This
should work by the declarative ideal of Ant methinks -->
>     <echo message="My choice: ${choice}" />
>
>--
>Jack J. Woehr            # "[F]ar in the empty sky a solitary esophagus slept
>http://www.well.com/~jax #  upon motionless wing; everywhere brooded stillness,
>http://www.softwoehr.com #  serenity, and the peace of God." - Mark Twain
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>  
>


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


Mime
View raw message