ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Depthblue <depthb...@centrum.cz>
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="build.date" type="date" value="now" pattern="hh:dd:ss"/>
  <entry key="build.computer" value="${env.COMPUTERNAME}"/>
</propertyfile>
-- 
View this message in context: http://www.nabble.com/How-shows-colon-%28%3A%29-tf3639816.html#a10164817
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message