Author: jleroux
Date: Sat Sep 27 07:38:01 2014
New Revision: 1627928

URL: http://svn.apache.org/r1627928
Log:
Backports the build date in footer feature (lazy consensus on dev ML)

Modified:
    ofbiz/branches/release13.07/build.xml

Modified: ofbiz/branches/release13.07/build.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release13.07/build.xml?rev=1627928&r1=1627927&r2=1627928&view=diff
==============================================================================
--- ofbiz/branches/release13.07/build.xml (original)
+++ ofbiz/branches/release13.07/build.xml Sat Sep 27 07:38:01 2014
@@ -195,7 +195,7 @@ under the License.
     </target>
 
     <target name="svninfo"
-            description="Update the Release-revision info in the footer. Note 
that you need a valid Internet connection and Subversion connected to the OFBiz 
repository for that ">
+        description="Update the Release-revision info in the footer. Note that 
you need a valid Internet connection and Subversion connected to the OFBiz 
repository for that ">
         <echo message="Creating svninfo..."/>
         <exec executable="svn" dir="." output="runtime/svninfo_tmp.xml">
             <arg value="info"/>
@@ -204,7 +204,10 @@ under the License.
         <xmlproperty file="runtime/svninfo_tmp.xml"/>
         <echo message="Rev:${info.entry.commit(revision)}"/>
         <basename property="releasePath" file="${info.entry.url}"/>
-        <echo message=" - Release-revision : 
${releasePath}-r${info.entry.commit(revision)}" file="runtime/svninfo.ftl"/>
+        <tstamp>
+            <format property="dateTime" pattern="yyyy-MM-dd HH:mm:ss"/>
+        </tstamp>        
+        <echo message=" - Release-revision : 
${releasePath}-r${info.entry.commit(revision)},  ${uiLabelMap.CommonBuiltOn} 
${dateTime}" file="runtime/svninfo.ftl"/>
         <delete file="runtime/svninfo_tmp.xml"/>
         <echo message="Done!"/>
     </target>


Reply via email to