common/build.xml
changeset 224 a237fdfca8c5
parent 223 060d04086618
parent 220 8c24efb057be
child 225 59f8bbf91345
child 240 5705f5c8f10d
equal deleted inserted replaced
223:060d04086618 224:a237fdfca8c5
   369         <if>
   369         <if>
   370             <istrue value="${sf.spec.logs.zip.enable}"/>
   370             <istrue value="${sf.spec.logs.zip.enable}"/>
   371             <then>
   371             <then>
   372                 <property name="temp.log.zip" value="${env.TEMP}/build_logs_${sf.spec.job.name}_${build.number}.zip"/>
   372                 <property name="temp.log.zip" value="${env.TEMP}/build_logs_${sf.spec.job.name}_${build.number}.zip"/>
   373                 <echo message="Zip log requested, zipping logs..."/>
   373                 <echo message="Zip log requested, zipping logs..."/>
   374                 <zip destfile="${temp.log.zip}" basedir="${build.log.dir}"/>
   374                 <zip destfile="${temp.log.zip}" basedir="${build.drive}" includes="output/logs/**"/>
   375                 <move file="${temp.log.zip}" todir="${build.log.dir}" failonerror="false"/>
   375                 <move file="${temp.log.zip}" todir="${build.log.dir}" failonerror="false"/>
   376             </then>
   376             </then>
   377         </if>
   377         </if>
   378     </target>
   378     </target>
   379     
   379 
   380     <!-- generate dir list using passed location and name 
   380     <!-- generate dir list using passed location and name 
   381     if a baseline list is available then generate deltas too -->
   381     if a baseline list is available then generate deltas too -->
   382 
   382 
   383     <target name="sf-list-dir">
   383     <target name="sf-list-dir">
   384         <property name="sf.currentlist.name"   value="${sf.list.name}"/> 
   384         <property name="sf.currentlist.name"   value="${sf.list.name}"/> 
   812             <arg value="/c"/>
   812             <arg value="/c"/>
   813             <arg value="evalid -x \.sym$ -g epoc32/release/armv5/urel output/md5/epoc32_release_armv5_urel.md5"/>
   813             <arg value="evalid -x \.sym$ -g epoc32/release/armv5/urel output/md5/epoc32_release_armv5_urel.md5"/>
   814         </exec>
   814         </exec>
   815         <exec executable="cmd" dir="${build.drive}">
   815         <exec executable="cmd" dir="${build.drive}">
   816             <arg value="/c"/>
   816             <arg value="/c"/>
   817             <arg value="evalid -x \.sym$ -g epoc32/release/winscw/urel output/md5/epoc32_release_winscw_udeb.md5"/>
   817             <arg value="evalid -x \.sym$ -g epoc32/release/winscw/udeb output/md5/epoc32_release_winscw_udeb.md5"/>
   818         </exec>
   818         </exec>
   819         <exec executable="cmd" dir="${build.drive}">
   819         <exec executable="cmd" dir="${build.drive}">
   820             <arg value="/c"/>
   820             <arg value="/c"/>
   821             <arg value="evalid -x \.sym$ -g epoc32/release/winscw/udeb output/md5/epoc32_release_winscw_urel.md5"/>
   821             <arg value="evalid -x \.sym$ -g epoc32/release/winscw/urel output/md5/epoc32_release_winscw_urel.md5"/>
   822         </exec>
   822         </exec>
   823         <exec executable="cmd" dir="${build.drive}">
   823         <exec executable="cmd" dir="${build.drive}">
   824             <arg value="/c"/>
   824             <arg value="/c"/>
   825             <arg value="evalid -g epoc32/cshlpcmp_template 	output/md5/epoc32_cshlpcmp_template.md5"/>
   825             <arg value="evalid -g epoc32/cshlpcmp_template 	output/md5/epoc32_cshlpcmp_template.md5"/>
   826         </exec>
   826         </exec>
   883         <exec executable="cmd" dir="${build.drive}">
   883         <exec executable="cmd" dir="${build.drive}">
   884             <arg value="/c"/>
   884             <arg value="/c"/>
   885             <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/>
   885             <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/>
   886         </exec>
   886         </exec>
   887         </parallel>
   887         </parallel>
       
   888         
       
   889         <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
       
   890         <property name="temp.md5.zip" value="${env.TEMP}/MD5_${sf.spec.job.name}_${build.number}.zip"/>
       
   891         <echo message="INFO Packaging MD5s"/>
       
   892         <zip destfile="${temp.md5.zip}">
       
   893             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
       
   894         </zip>
       
   895         <move file="${temp.md5.zip}" todir="${build.log.dir}" failonerror="false"/>
   888     </target>
   896     </target>
   889 </project>
   897 </project>
   890 
   898