common/build.postbuild.xml
changeset 1108 09255e80a1ec
parent 1084 abefe2962232
child 1112 befa266a0393
equal deleted inserted replaced
1107:9e4e5aee4e8c 1108:09255e80a1ec
    94                 
    94                 
    95                 <echo message="Publish log files and reports to ${sf.spec.publish.rootdir}"/>
    95                 <echo message="Publish log files and reports to ${sf.spec.publish.rootdir}"/>
    96                 <runtarget target="sf-publish"/>
    96                 <runtarget target="sf-publish"/>
    97             </then>
    97             </then>
    98         </if>
    98         </if>
       
    99         <runtarget target="sf-build-summary"/>
    99         <stopwatch name="sf-postbuild" action="elapsed"/>
   100         <stopwatch name="sf-postbuild" action="elapsed"/>
   100     </target>
   101     </target>
   101 
   102 
   102     <target name="sf-tag-hg-code">
   103     <target name="sf-tag-hg-code">
   103         <!-- To do the tagging, we need to know what tag to use, and who the author is (from hg's perspective) -->
   104         <!-- To do the tagging, we need to know what tag to use, and who the author is (from hg's perspective) -->
  1096                 <echo message="INFO Building iMaker configurations"/>
  1097                 <echo message="INFO Building iMaker configurations"/>
  1097                 <runtarget target="build-roms"/>
  1098                 <runtarget target="build-roms"/>
  1098             </then>
  1099             </then>
  1099         </if>    
  1100         </if>    
  1100     </target>
  1101     </target>
  1101     
  1102 
       
  1103     <!-- Transform BRAG xslt and display status at the end of the build -->
       
  1104     <target name="sf-build-summary">
       
  1105     <delete dir="${build.drive}/output/logs/summary/">
       
  1106       <include name="**/*.html"/>
       
  1107     </delete>
       
  1108      <xslt basedir="${build.drive}/output/logs/summary" destdir="${temp.build.dir}" extension=".html" style="."/>	
       
  1109     <loadfile srcFile="${temp.build.dir}/_BRAG.html" property="sf.brag.status">
       
  1110     <filterchain>
       
  1111       <linecontainsregexp>
       
  1112         <regexp pattern="(BLACK|RED|AMBER|GREEN)"/>
       
  1113       </linecontainsregexp>
       
  1114 	  <trim/>
       
  1115       <striplinebreaks/>
       
  1116       <deletecharacters chars="\&gt;\&lt;\h2\h1\/"/>
       
  1117     </filterchain>
       
  1118     </loadfile>	
       
  1119     <echo message="BRAG STATUS: [${sf.brag.status}] - full build details available at ${build.drive}\output\logs\html\index.html"/>
       
  1120 	</target>
       
  1121 
  1102 </project>
  1122 </project>