ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Depthblue <>
Subject How shows colon (:)
Date Tue, 24 Apr 2007 16:35:15 GMT

I save date to propertyfile. I use pattern="hh:mm:ss", but I see in property
file for time 21:45:15 this fecord 21\:45\:15.
Every colon (:) are replaced to \:

How show only colon in value?

<propertyfile file="${buildInformationFile}" comment="Build information">
  <entry key="build.number" type="int" default="0" operation="+"/>
  <entry key="" type="date" value="now" pattern="hh:dd:ss"/>
  <entry key="" value="${env.COMPUTERNAME}"/>
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message