common/build.postbuild.xml
changeset 1244 fdcfee9c5b0d
parent 1243 5a935138ebeb
child 1245 06a4d69b725f
--- a/common/build.postbuild.xml	Fri Oct 01 14:00:40 2010 +0100
+++ b/common/build.postbuild.xml	Fri Oct 01 16:54:01 2010 +0100
@@ -346,6 +346,8 @@
                     <arg value="-x!epoc32\include\featureuids.h"/>
                     <arg value="-x!epoc32\rom\include\feature.iby"/>
                     <arg value="-x!epoc32\rom\include\featuredatabase.xml"/>
+                    <arg value="-x!epoc32\rom"/> <!-- ROM images (etc) go into their own archive -->
+                    <arg value="-x!epoc32\rombuild"/> <!-- ROM images go into their own archive -->
                     <arg value="-x!epoc32\data\media"/> <!-- Files created when emulator is used to create comms database - not worth releasing-->
                     <arg value="-x!epoc32\build"/>
                     <arg value="-x!epoc32\release\armv5"/>
@@ -449,6 +451,20 @@
                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.${sf.spec.package.zip.format}.zip"/>
                 <arg value="epoc32\release\armv5\lib"/>
             </exec>
+
+            <!-- ROM images -->
+            <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_rom_images.log">
+                <arg value="a"/>
+                <arg value="-t${sf.spec.package.zip.format}"/>
+                <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
+                <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
+                <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
+                <arg value="-x!epoc32\rom\include\feature.iby"/>
+                <arg value="-x!epoc32\rom\include\featuredatabase.xml"/>
+                <arg value="${build.drive}/output/zips/release/binaries_rom_images.${sf.spec.package.zip.format}.zip"/>
+                <arg value="epoc32\rom"/>
+                <arg value="epoc32\rombuild"/>
+            </exec>
         </parallel>
         
         <runtarget target="sf-package-tools"/>
@@ -994,9 +1010,9 @@
             <istrue value="${sf.spec.publish.release.zips.enable}" />
         <then>
             <mkdir dir="${sf.spec.publish.release.zips.location}/${build.id}"/>
-			<copy todir="${sf.spec.publish.release.zips.location}/${build.id}" preservelastmodified="true" failonerror="false">
-				<fileset dir="${build.output.dir}/zips/release/"><include name="*.*"/></fileset>
-			</copy>
+            <copy todir="${sf.spec.publish.release.zips.location}/${build.id}" preservelastmodified="true" failonerror="false">
+                <fileset dir="${build.output.dir}/zips/release/"><include name="*.*"/></fileset>
+            </copy>
         </then>
         </if>
     </target>