ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: propertyfile and time format
Date Fri, 21 Mar 2003 19:07:35 GMT
It's the Properties format, as defined in the JDK javadoc. Removing the \
makes that properties file invalid... Has nothing to do with Ant. --DD

-----Original Message-----
From: Donal Quinlan [mailto:donal@savvion.com] 
Sent: Friday, March 21, 2003 1:05 PM
To: Ant Users
Subject: propertyfile and time format

Does anyone know how to make

#Build Information
#Fri Mar 21 11:01:10 PST 2003
build.time=11\:01

appear as

#Build Information
#Fri Mar 21 11:01:10 PST 2003
build.time=11:01

that is without escaping the :

This is how I am generating the time at the moment
<entry key="build.time" type="date" value="now" pattern="HH:mm"/>

The ant documentation gives me the impression that this \ is a feature.
Unfortunately it is a feature I don't want in this case.

Thanks

Donal

Mime
View raw message