common/build.xml
changeset 220 8c24efb057be
parent 216 36d82a2f1f92
child 224 a237fdfca8c5
equal deleted inserted replaced
219:bb8b41925df4 220:8c24efb057be
   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}"/> 
   787             <arg value="/c"/>
   787             <arg value="/c"/>
   788             <arg value="evalid -x \.sym$ -g epoc32/release/armv5/urel output/md5/epoc32_release_armv5_urel.md5"/>
   788             <arg value="evalid -x \.sym$ -g epoc32/release/armv5/urel output/md5/epoc32_release_armv5_urel.md5"/>
   789         </exec>
   789         </exec>
   790         <exec executable="cmd" dir="${build.drive}">
   790         <exec executable="cmd" dir="${build.drive}">
   791             <arg value="/c"/>
   791             <arg value="/c"/>
   792             <arg value="evalid -x \.sym$ -g epoc32/release/winscw/urel output/md5/epoc32_release_winscw_udeb.md5"/>
   792             <arg value="evalid -x \.sym$ -g epoc32/release/winscw/udeb output/md5/epoc32_release_winscw_udeb.md5"/>
   793         </exec>
   793         </exec>
   794         <exec executable="cmd" dir="${build.drive}">
   794         <exec executable="cmd" dir="${build.drive}">
   795             <arg value="/c"/>
   795             <arg value="/c"/>
   796             <arg value="evalid -x \.sym$ -g epoc32/release/winscw/udeb output/md5/epoc32_release_winscw_urel.md5"/>
   796             <arg value="evalid -x \.sym$ -g epoc32/release/winscw/urel output/md5/epoc32_release_winscw_urel.md5"/>
   797         </exec>
   797         </exec>
   798         <exec executable="cmd" dir="${build.drive}">
   798         <exec executable="cmd" dir="${build.drive}">
   799             <arg value="/c"/>
   799             <arg value="/c"/>
   800             <arg value="evalid -g epoc32/cshlpcmp_template 	output/md5/epoc32_cshlpcmp_template.md5"/>
   800             <arg value="evalid -g epoc32/cshlpcmp_template 	output/md5/epoc32_cshlpcmp_template.md5"/>
   801         </exec>
   801         </exec>
   858         <exec executable="cmd" dir="${build.drive}">
   858         <exec executable="cmd" dir="${build.drive}">
   859             <arg value="/c"/>
   859             <arg value="/c"/>
   860             <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/>
   860             <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/>
   861         </exec>
   861         </exec>
   862         </parallel>
   862         </parallel>
       
   863         
       
   864         <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
       
   865         <property name="temp.md5.zip" value="${env.TEMP}/MD5_${sf.spec.job.name}_${build.number}.zip"/>
       
   866         <echo message="INFO Packaging MD5s"/>
       
   867         <zip destfile="${temp.md5.zip}">
       
   868             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
       
   869         </zip>
       
   870         <move file="${temp.md5.zip}" todir="${build.log.dir}" failonerror="false"/>
   863     </target>
   871     </target>
   864 </project>
   872 </project>
   865 
   873