ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donal Quinlan" <do...@savvion.com>
Subject propertyfile and time format
Date Fri, 21 Mar 2003 19:05:14 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message