Moved the generation of the release metadata entry for the MD5 zip outside of
authorSimon Howkins <simonh@symbian.org>
Fri, 16 Oct 2009 15:11:28 +0100
changeset 680 81550e87fc91
parent 679 7e493c0264f3
child 681 eeab5a04dc46
Moved the generation of the release metadata entry for the MD5 zip outside of the parallel section, so it can't co-incide with the zipping of the binaries. Ensured that any errors generated when merging log files are not just hidden by putting them in the output file (which will render it not well-formed XML).
common/build.postbuild.xml
--- a/common/build.postbuild.xml	Fri Oct 16 15:06:40 2009 +0100
+++ b/common/build.postbuild.xml	Fri Oct 16 15:11:28 2009 +0100
@@ -45,7 +45,13 @@
               </then>
             </if>
         </parallel>
-        
+
+        <!-- Generate release_metadata entries for the md5 zips -->
+        <antcall target="sf-zip-content">
+            <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
+            <param name="zip.target.name" value="bin-just-metadata" />
+        </antcall>
+ 
         <!-- Launch smoketest -->
         <if><istrue value="${sf.spec.test.sendpkg.enable}"/>
             <then>
@@ -194,11 +200,6 @@
         <zip destfile="${build.output.dir}/zips/release/build_md5.zip">
             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
         </zip>
-        <!-- Generate release_metadata entries for the above zips -->
-        <antcall target="sf-zip-content">
-            <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
-            <param name="zip.target.name" value="bin-just-metadata" />
-        </antcall>
     </target>    
     
     <target name="sf-package-binary" depends="sf-package-postbuild-rnd">
@@ -518,7 +519,7 @@
 
     <target name="sf-brag-to-diamonds">
         <!-- Merge all our bits of XML together -->
-        <exec executable="perl" output="${build.log.dir}/summary/_BRAG.xml">
+        <exec executable="perl" output="${build.log.dir}/summary/_BRAG.xml" logError="true">
             <arg value="${sf.common.config.dir}/tools/mergeXML.pl"/>
             <arg value="--xsl=brag.xsl"/>
             <arg value="--merge=buildStatus,phase(name),step(name),failures(level)"/>