ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Woehr <...@purematrix.com>
Subject Re: Property Task -- Nested Property Composition
Date Fri, 21 May 2004 17:20:16 GMT
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


Mime
View raw message