http://www.ant-tasks.com/
Apache Ant Archive
»
Ant Users List
»
Ant Developers List
propertyfile and time format
propertyfile and time format
2003-03-21 - By Donal Quinlan
Reply: 1
2
3
4
5
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
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.