ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack.Tang" <him...@gmail.com>
Subject How to set dynamic variables in Ant?
Date Tue, 12 Sep 2006 07:02:23 GMT

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#a6260655
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


Mime
View raw message