ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <>
Subject When do I need to explicitly convert the ${...}'s
Date Tue, 15 Feb 2005 17:45:14 GMT
Hey Guys (and gals),
I was writing my own task and need recieve a date format from the user.
Wanting to make the task as flexible as possible, I want to be able to support values that
contain ${...} text (that needs to be expanded) as well as verbatim text.
The question is that it appears that the ${...} are already replaced for me on basic attribute
For example
    <dateFormatter inputDate="${TODAY}" dateFormat="MMMM dd yyyy">

In my new task (dateFormatter) the inputDate attribute contains the value of the TODAY property.
I am not saying this bad, I was just surprised that it was already done for me...what the
value of the Project.replaceProperties(...) method then?

Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message