common/build.xml
changeset 1184 0485a6899b9b
parent 1177 10860abeede6
child 1191 5796b6eeacd9
--- a/common/build.xml	Wed Jul 14 16:29:55 2010 +0100
+++ b/common/build.xml	Thu Jul 15 13:49:34 2010 +0100
@@ -290,6 +290,10 @@
     <target name="sf-prebuild-announce">
         <stopwatch name="sf-prebuild"/>
         <echo>[SF-PREBUILD]</echo>
+        <tstamp>
+          <format property="sf.build.starttime" pattern="yyyy-MM-dd HH:mm:ss" locale="en,UK"/>
+        </tstamp>
+        <echo message="started&#x0009;${sf.build.starttime}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
     </target>
     
     <target name="sf-diamonds-connect">
@@ -304,13 +308,9 @@
       </if>
       
       <!-- Supply build-start info in a BIT file -->
-      <tstamp>
-        <format property="time.now" pattern="yyyy-MM-dd HH:mm:ss" locale="en,UK"/>
-      </tstamp>
       <echo message="build_id_string&#x0009;${sf.spec.job.name}_${sf.spec.job.codeline}.${sf.spec.job.number}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
       <echo message="package&#x0009;${sf.spec.job.name}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
       <echo message="platform&#x0009;${sf.spec.job.codeline}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
-      <echo message="started&#x0009;${time.now}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
       <echo message="creator&#x0009;${env.USERNAME}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
       <echo message="machine&#x0009;${env.COMPUTERNAME}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
     </target>