ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Duncan Davidson <dun...@x180.net>
Subject Re: TStamp - custom formats
Date Thu, 04 Jan 2001 10:08:24 GMT
On 1/3/01 3:39 AM, "Conor MacNeill" <conor@cognet.com.au> wrote:

> Rob,
> 
> I've committed this patch with a few minor changes. If you disagree with
> them let me know and I can change it.
> Basically I changed the usage as follows:-
> 
> <tstamp>
>   <format property="TODAY_UK" pattern="d MMMM yyyy">
> </tstamp>
> 
> The reason to do this was to make it distinctive from the propery elements
> of the <ant> task which are about passing properties. This also aligns it
> more with the way the <available> task specifies the property it is to set.
> If you or anyone else is strongly in favour of Rob's original syntax let me
> know.

+1 on disambiguating the meaning of property. :)

Would there be a way of leveraging Locale objects to do some of this?


-- 
James Duncan Davidson                                        duncan@x180.net
                                                                  !try; do()


Mime
View raw message