ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Abdelnur <alejandro.abdel...@sun.com>
Subject [PATCH] ant1.4B2 embedded (or nested) properties
Date Sun, 02 Sep 2001 02:03:03 GMT

 i've modified the replaceProperties method from the
org.apache.tools.ant.ProjectHelper class of Ant1.4B2 to support nested property
evaluation.

for example:

         <property name="a" value="A"/>
         <property name="c" value="C"/>
         <property name="bC" value="BC"/>
         <property name="aBC" value="ABC"/>

         <echo message="${a${b${c}}}"/>

resolves to "ABC"

attached you'll find the modified ProjectHelper.java file.

regards.

a

Mime
View raw message