Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
authorShabe Razvi <shaber@symbian.org>
Tue, 30 Jun 2009 16:46:32 +0100
changeset 220 8c24efb057be
parent 219 bb8b41925df4
child 224 a237fdfca8c5
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
common/build.xml
--- a/common/build.xml	Tue Jun 30 11:10:14 2009 +0100
+++ b/common/build.xml	Tue Jun 30 16:46:32 2009 +0100
@@ -371,12 +371,12 @@
             <then>
                 <property name="temp.log.zip" value="${env.TEMP}/build_logs_${sf.spec.job.name}_${build.number}.zip"/>
                 <echo message="Zip log requested, zipping logs..."/>
-                <zip destfile="${temp.log.zip}" basedir="${build.log.dir}"/>
+                <zip destfile="${temp.log.zip}" basedir="${build.drive}" includes="output/logs/**"/>
                 <move file="${temp.log.zip}" todir="${build.log.dir}" failonerror="false"/>
             </then>
         </if>
     </target>
-    
+
     <!-- generate dir list using passed location and name 
     if a baseline list is available then generate deltas too -->
 
@@ -789,11 +789,11 @@
         </exec>
         <exec executable="cmd" dir="${build.drive}">
             <arg value="/c"/>
-            <arg value="evalid -x \.sym$ -g epoc32/release/winscw/urel output/md5/epoc32_release_winscw_udeb.md5"/>
+            <arg value="evalid -x \.sym$ -g epoc32/release/winscw/udeb output/md5/epoc32_release_winscw_udeb.md5"/>
         </exec>
         <exec executable="cmd" dir="${build.drive}">
             <arg value="/c"/>
-            <arg value="evalid -x \.sym$ -g epoc32/release/winscw/udeb output/md5/epoc32_release_winscw_urel.md5"/>
+            <arg value="evalid -x \.sym$ -g epoc32/release/winscw/urel output/md5/epoc32_release_winscw_urel.md5"/>
         </exec>
         <exec executable="cmd" dir="${build.drive}">
             <arg value="/c"/>
@@ -860,6 +860,14 @@
             <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/>
         </exec>
         </parallel>
+        
+        <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
+        <property name="temp.md5.zip" value="${env.TEMP}/MD5_${sf.spec.job.name}_${build.number}.zip"/>
+        <echo message="INFO Packaging MD5s"/>
+        <zip destfile="${temp.md5.zip}">
+            <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
+        </zip>
+        <move file="${temp.md5.zip}" todir="${build.log.dir}" failonerror="false"/>
     </target>
 </project>