Intelligent way of getting timings for ALL uses of sf-zip-content
authorSimon Howkins <simonh@symbian.org>
Thu, 28 Jan 2010 18:09:20 +0000
changeset 864 2b0f08dedb30
parent 863 4a6ed95640ad
child 865 d33d458149b9
Intelligent way of getting timings for ALL uses of sf-zip-content
common/build.postbuild.xml
common/build.xml
--- a/common/build.postbuild.xml	Thu Jan 28 17:06:02 2010 +0000
+++ b/common/build.postbuild.xml	Thu Jan 28 18:09:20 2010 +0000
@@ -57,12 +57,10 @@
         </parallel>
         
         <!-- Generate release_metadata entries for the md5 zips -->
-        <stopwatch name="sf-postbuild" action="elapsed"/>
         <antcall target="sf-zip-content">
             <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
             <param name="zip.target.name" value="bin-just-metadata" />
         </antcall>
-        <stopwatch name="sf-postbuild" action="elapsed"/>
  
         <!-- Launch smoketest -->
         <if><istrue value="${sf.spec.test.sendpkg.enable}"/>
--- a/common/build.xml	Thu Jan 28 17:06:02 2010 +0000
+++ b/common/build.xml	Thu Jan 28 18:09:20 2010 +0000
@@ -542,6 +542,7 @@
             <runtarget target="sf-preprocess-package-config"/>
           </then>  
         </if>
+        <stopwatch name="sf-zip-content (${zip.target.name})"/>
         <if><available file="${zip.config.file}"/>
           <then>
             <runtarget target="preprocess-zip-config" />
@@ -553,6 +554,7 @@
             <echo message="ERROR ${zip.config.file} not available for zipping!"/>
           </else>
         </if>
+        <stopwatch name="sf-zip-content (${zip.target.name})" action="elapsed"/>
     </target>
     
     <target name="sf-package-source" >