This is orthogonal, but <tstamp> can already accept a fomatter.

-- 
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


Ninju Bohra <[EMAIL PROTECTED]> wrote on 02/15/2005 12:45:14 PM:

> 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 sets...
> For example
>  <tstamp/>
>     <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'

Reply via email to