Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
authorMattD <mattd@symbian.org>
Fri, 19 Jun 2009 16:00:11 +0100
changeset 167 87306c6a6632
parent 165 25e06db2f72b
child 168 bf91a7e3c25b
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds. Should work when we update the metadata.
common/build.xml
common/common_props.ant.xml
--- a/common/build.xml	Thu Jun 18 14:32:22 2009 +0100
+++ b/common/build.xml	Fri Jun 19 16:00:11 2009 +0100
@@ -281,6 +281,7 @@
             <then>
                 <echo message="INFO Packaging Binaries"/>
                 <runtarget target="sf-package-binary"/>
+                <runtarget target="sf-package-tools"/>
             </then>
         </if>
         </parallel>
@@ -477,6 +478,23 @@
         </antcall>
     </target>
     
+    <target name="sf-package-tools" depends="sf-preprocess-package-config">
+        <echo message="Packaging epoc32 tools - Temporary method"/>
+            <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log">
+            <arg value="a"/>
+            <arg value="-tzip"/>
+            <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
+<!--            <arg value="-x@${build.log.dir}/*_includefile.txt"/> -->
+            <arg value="tools_epoc.zip"/> 
+            <arg value="epoc32/tools"/>
+            </exec>
+        <if><available file="${build.drive}/tools_epoc.zip"/>
+            <then><move file="${build.drive}/tools_epoc.zip" todir="${build.drive}/output/zips/"/></then>
+        </if>
+
+    </target>
+
+    
     <target name="sf-package-binary" depends="sf-preprocess-package-config,sf-package-postbuild-rnd">
         <!--antcall target="sf-zip-content">
             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
@@ -490,6 +508,7 @@
             <arg value="a"/>
             <arg value="-tzip"/>
             <arg value="-x@${build.drive}/rnd_excludefile.txt"/> <!-- excludes -->
+            <arg value="-x!epoc32\tools"/>
             <arg value="-x!epoc32\build"/> 
             <arg value="-xr!*.sym"/> 
             <arg value="binaries_epoc.zip"/> 
@@ -502,6 +521,7 @@
             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
             <arg value="a"/>
             <arg value="-tzip"/>
+            <arg value="-x!epoc32\tools"/> 
             <arg value="-x!epoc32\build"/> <!-- excludes -->
             <arg value="-xr!*.sym"/> 
             <arg value="binaries_epoc.zip"/> 
@@ -512,6 +532,7 @@
         <if><available file="${build.drive}/binaries_epoc.zip"/>
         <then><move file="${build.drive}/binaries_epoc.zip" todir="${build.drive}/output/zips/"/></then>
         </if>
+
     </target>
 
     <target name="sf-package-postbuild-rnd" depends="sf-preprocess-package-config">
--- a/common/common_props.ant.xml	Thu Jun 18 14:32:22 2009 +0100
+++ b/common/common_props.ant.xml	Fri Jun 19 16:00:11 2009 +0100
@@ -39,7 +39,7 @@
     
     <property name="sf.spec.baseline.enable" value="true"/>
     <property name="sf.spec.baseline.select" value="auto"/> <!-- auto|explicit|location -->
-    <property name="sf.spec.baseline.getenv_options" value="-i emu"/>
+    <property name="sf.spec.baseline.getenv_options" value="-i emu,tools"/>
     <property name="sf.spec.toolsbaseline.enable" value="true"/>
     <property name="sf.spec.toolsbaseline.select" value="auto"/>
     <property name="sf.spec.toolsbaseline.getenv_options" value="-i tools"/>