common/build.postbuild.xml
changeset 680 81550e87fc91
parent 678 be06d8de937c
child 681 eeab5a04dc46
equal deleted inserted replaced
679:7e493c0264f3 680:81550e87fc91
    43                 <!-- Generate reports to compare this build to a previous one -->
    43                 <!-- Generate reports to compare this build to a previous one -->
    44                 <runtarget target="sf-compare-to-baseline"/>
    44                 <runtarget target="sf-compare-to-baseline"/>
    45               </then>
    45               </then>
    46             </if>
    46             </if>
    47         </parallel>
    47         </parallel>
    48         
    48 
       
    49         <!-- Generate release_metadata entries for the md5 zips -->
       
    50         <antcall target="sf-zip-content">
       
    51             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
       
    52             <param name="zip.target.name" value="bin-just-metadata" />
       
    53         </antcall>
       
    54  
    49         <!-- Launch smoketest -->
    55         <!-- Launch smoketest -->
    50         <if><istrue value="${sf.spec.test.sendpkg.enable}"/>
    56         <if><istrue value="${sf.spec.test.sendpkg.enable}"/>
    51             <then>
    57             <then>
    52                 <runtarget target="sf-build-smoketestpkg"/>
    58                 <runtarget target="sf-build-smoketestpkg"/>
    53                 <runtarget target="sf-send-testpkg"/>
    59                 <runtarget target="sf-send-testpkg"/>
   192         <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
   198         <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
   193     		<mkdir dir="${build.output.dir}/zips/release"/> <!-- Hack to prevent non-existing release dir -->
   199     		<mkdir dir="${build.output.dir}/zips/release"/> <!-- Hack to prevent non-existing release dir -->
   194         <zip destfile="${build.output.dir}/zips/release/build_md5.zip">
   200         <zip destfile="${build.output.dir}/zips/release/build_md5.zip">
   195             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
   201             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
   196         </zip>
   202         </zip>
   197         <!-- Generate release_metadata entries for the above zips -->
       
   198         <antcall target="sf-zip-content">
       
   199             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
       
   200             <param name="zip.target.name" value="bin-just-metadata" />
       
   201         </antcall>
       
   202     </target>    
   203     </target>    
   203     
   204     
   204     <target name="sf-package-binary" depends="sf-package-postbuild-rnd">
   205     <target name="sf-package-binary" depends="sf-package-postbuild-rnd">
   205         <!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries:
   206         <!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries:
   206              would need to update the template and possibly the script that populates it -->
   207              would need to update the template and possibly the script that populates it -->
   516 	  </exec>
   517 	  </exec>
   517     </target>    
   518     </target>    
   518 
   519 
   519     <target name="sf-brag-to-diamonds">
   520     <target name="sf-brag-to-diamonds">
   520         <!-- Merge all our bits of XML together -->
   521         <!-- Merge all our bits of XML together -->
   521         <exec executable="perl" output="${build.log.dir}/summary/_BRAG.xml">
   522         <exec executable="perl" output="${build.log.dir}/summary/_BRAG.xml" logError="true">
   522             <arg value="${sf.common.config.dir}/tools/mergeXML.pl"/>
   523             <arg value="${sf.common.config.dir}/tools/mergeXML.pl"/>
   523             <arg value="--xsl=brag.xsl"/>
   524             <arg value="--xsl=brag.xsl"/>
   524             <arg value="--merge=buildStatus,phase(name),step(name),failures(level)"/>
   525             <arg value="--merge=buildStatus,phase(name),step(name),failures(level)"/>
   525             <arg value="${build.log.dir}/summary/*?_BRAG.xml"/>
   526             <arg value="${build.log.dir}/summary/*?_BRAG.xml"/>
   526         </exec>
   527         </exec>