Ok, sorry! I should have read the documentation before...

Thanks for the info ;)

Marcelo.

On 10/16/06, Joel Klein <[EMAIL PROTECTED]> wrote:

Marcelo de Moraes Serpa wrote:
> The question is:
> * How could I possibly retrieve the system current date and use it to
> make a
> new directory?
The tstamp task with the format nested element does this.  Read its
documentation for more help, but here's an example :

        <tstamp prefix="init">
            <format property="ymd" pattern="yyyy-MM-dd"/>
        </tstamp>

Now there's a property init.ymd which holds a string like "2006-10-16".
Tstamp itself also creates other properties by default, but as shown you
can make your own with the format nested element.

--
Joel Klein
Online at http://jfkbits.blogspot.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to