Loading...

velocity-dev@jakarta.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

svn commit: r329823 - in /jakarta/velocity/core/trunk: build/build.xml maven.xml henning Mon Oct 31 06:35:56 2005

Author: henning
Date: Mon Oct 31 06:35:30 2005
New Revision: 329823

URL: http://svn.apache.org/viewcvs?rev=329823&view=rev
Log:
Use HH to get 24h display.
Replace build.version with POM driven version for maven build


Modified:
    jakarta/velocity/core/trunk/build/build.xml
    jakarta/velocity/core/trunk/maven.xml

Modified: jakarta/velocity/core/trunk/build/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/build/build.xml?rev=329823&r1=329822&r2=329823&view=diff
==============================================================================
--- jakarta/velocity/core/trunk/build/build.xml (original)
+++ jakarta/velocity/core/trunk/build/build.xml Mon Oct 31 06:35:30 2005
@@ -91,7 +91,7 @@
   <!-- =================================================================== -->
   <target name="basic-prepare">
     <tstamp>
-      <format property="build.time" pattern="yyyy-MM-dd hh:mm:ss" />
+      <format property="build.time" pattern="yyyy-MM-dd HH:mm:ss" />
       <format property="build.year" pattern="yyyy"/>
     </tstamp>
     <filter token="build.year" value="${build.year}"/>

Modified: jakarta/velocity/core/trunk/maven.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/maven.xml?rev=329823&r1=329822&r2=329823&view=diff
==============================================================================
--- jakarta/velocity/core/trunk/maven.xml (original)
+++ jakarta/velocity/core/trunk/maven.xml Mon Oct 31 06:35:30 2005
@@ -39,11 +39,11 @@
   <!-- ================================================================== -->
   <preGoal name="java:compile">
     <ant:tstamp>
-      <ant:format property="build.time" pattern="yyyy-MM-dd hh:mm:ss" />
+      <ant:format property="build.time" pattern="yyyy-MM-dd HH:mm:ss" />
       <ant:format property="build.year" pattern="yyyy"/>
     </ant:tstamp>
     <ant:filter token="build.year" value="${build.year}"/>
-    <ant:filter token="build.version" value="${version}"/>
+    <ant:filter token="build.version" value="${pom.currentVersion}"/>
     <ant:filter token="build.time" value="${build.time}"/>
 
     <ant:copy todir="target/src" filtering="yes">



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]