common/build.xml
changeset 1184 0485a6899b9b
parent 1177 10860abeede6
child 1191 5796b6eeacd9
equal deleted inserted replaced
1183:6c7fc7463871 1184:0485a6899b9b
   288     </target>
   288     </target>
   289     
   289     
   290     <target name="sf-prebuild-announce">
   290     <target name="sf-prebuild-announce">
   291         <stopwatch name="sf-prebuild"/>
   291         <stopwatch name="sf-prebuild"/>
   292         <echo>[SF-PREBUILD]</echo>
   292         <echo>[SF-PREBUILD]</echo>
       
   293         <tstamp>
       
   294           <format property="sf.build.starttime" pattern="yyyy-MM-dd HH:mm:ss" locale="en,UK"/>
       
   295         </tstamp>
       
   296         <echo message="started&#x0009;${sf.build.starttime}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   293     </target>
   297     </target>
   294     
   298     
   295     <target name="sf-diamonds-connect">
   299     <target name="sf-diamonds-connect">
   296       <if>
   300       <if>
   297         <istrue value="${sf.spec.publish.enable}"/>
   301         <istrue value="${sf.spec.publish.enable}"/>
   302           <echo message="diamonds.build.id=${diamonds.build.id}" file="${build.log.dir}/diamonds_build_id.properties"/>
   306           <echo message="diamonds.build.id=${diamonds.build.id}" file="${build.log.dir}/diamonds_build_id.properties"/>
   303         </then>
   307         </then>
   304       </if>
   308       </if>
   305       
   309       
   306       <!-- Supply build-start info in a BIT file -->
   310       <!-- Supply build-start info in a BIT file -->
   307       <tstamp>
       
   308         <format property="time.now" pattern="yyyy-MM-dd HH:mm:ss" locale="en,UK"/>
       
   309       </tstamp>
       
   310       <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"/>
   311       <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"/>
   311       <echo message="package&#x0009;${sf.spec.job.name}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   312       <echo message="package&#x0009;${sf.spec.job.name}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   312       <echo message="platform&#x0009;${sf.spec.job.codeline}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   313       <echo message="platform&#x0009;${sf.spec.job.codeline}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   313       <echo message="started&#x0009;${time.now}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
       
   314       <echo message="creator&#x0009;${env.USERNAME}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   314       <echo message="creator&#x0009;${env.USERNAME}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   315       <echo message="machine&#x0009;${env.COMPUTERNAME}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   315       <echo message="machine&#x0009;${env.COMPUTERNAME}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
   316     </target>
   316     </target>
   317     
   317     
   318     <target name="sf-diamonds-envinfo">
   318     <target name="sf-diamonds-envinfo">