ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
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 [] 
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

appear as

#Build Information
#Fri Mar 21 11:01:10 PST 2003

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.



View raw message