ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murray, Mike" <...@ptc.com>
Subject RE: My New Year Wish
Date Thu, 25 Jan 2007 23:08:50 GMT
These will get you one level of nesting...

   <!-- evaluate nested properties, ie ${${x}} work around -->
   <macrodef name="ExpandPropertyValue">     
      <attribute name="name"/>
      <attribute name="value"/>
      <sequential>
         <property name="@{name}" value="${@{value}}"/>
      </sequential>
   </macrodef>

   <macrodef name="ExpandPropertyLocation">  
      <attribute name="name"/>
      <attribute name="location"/>
      <sequential>
         <property name="@{name}" location="${@{location}}"/>
      </sequential>
   </macrodef>

-----Original Message-----
From: Jack J. Woehr [mailto:jwoehr@absolute-performance.com] 
Sent: Thursday, January 25, 2007 5:05 PM
To: Ant Users List
Subject: Re: My New Year Wish


On Jan 25, 2007, at 3:09 PM, Res Pons wrote:

> I wish Ant was

Do I get to wish, too? :-) I wish Ant did recursive property expansion!

--
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
jwoehr@absolute-performance.com
303-443-7000 ext. 527


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


Mime
View raw message