sf-tools/build.xml
changeset 1011 ed6bac1beacb
parent 1010 0630eeca6d07
child 1012 d1cef5ea6d99
--- a/sf-tools/build.xml	Mon May 10 15:28:49 2010 +0100
+++ b/sf-tools/build.xml	Tue May 11 15:56:27 2010 +0100
@@ -101,25 +101,32 @@
         <arg value="epoc32\"/>
     </exec>
 
-	<!--  create a manifest. Currently just list of all files in the archive -->
-    <exec executable="7z" dir="${build.drive}" output="${build.log.dir}/manifest_${build.id}_binaries_${sf.spec.job.name}.log">
-        <arg value="l"/>
+    <!--  create a manifest in the root of the build drive -->
+    <exec executable="perl" dir="${build.drive}" output="${build.log.dir}/manifest_binaries_${sf.spec.job.name}.txt">
+        <arg value="${sf.common.config.dir}/tools/7z_list_to_manifest.pl"/>
         <arg value="${build.drive}/output/zips/release/binaries_${sf.spec.job.name}.zip"/>
-	</exec>
+        <arg value="-z"/>
+    </exec>
+
+    <!--  add manifest to zip and update release meta data -->
+    <exec executable="7z" dir="${build.drive}">
+        <arg value="a"/>
+        <arg value="-t${sf.spec.package.zip.format}"/>
+        <arg value="${build.drive}/output/zips/release/binaries_${sf.spec.job.name}.zip"/>
+        <arg value="${build.log.dir}/manifest_binaries_${sf.spec.job.name}.txt"/>
+    </exec>
 
     <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-${sf.spec.job.name}-metadata" />
     </antcall>
-
  </target>
  
   <target name="create-canonical-sysdef-file">
      <copy file="${sf.spec.systemdefinition.location}" tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>
   </target>
 
- <!-- do nothing for these in a tools build -->
- <target name="sf-run-analysis"/>
+ <!-- do nothing for this in a tools build -->
  <target name="sf-copy-rom-logs"/>
     
 </project>