ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Clark" <mclark...@comcast.net>
Subject RE: How to set dynamic variables in Ant?
Date Tue, 12 Sep 2006 07:20:24 GMT
Try PopertyCopy  task from antcontrib

-----Original Message-----
From: Jack.Tang [mailto:himars@gmail.com] 
Sent: Tuesday, September 12, 2006 3:02 AM
To: user@ant.apache.org
Subject: How to set dynamic variables in Ant?


Hi,

Here is the problem I am now facing:

  <property file="todo.list" />
  <tstamp>
    <format property="TODAY" pattern="yyyyMMdd" locale="en"/>
  </tstamp>
  
  <property name="todayTodo" value="${${TODAY}.todo}">  <!--Broken HERE!!-->

Some todo items in todo.list are
20060912.todo = foo
20060912.todo = bar

Appreciate your suggestion to solve this problem.
Thanks

/Jack

-- 
View this message in context:
http://www.nabble.com/How-to-set-dynamic-variables-in-Ant--tf2257054.html#a6
260655
Sent from the Ant - Users forum 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


Mime
View raw message