common/build.postbuild.xml
changeset 1273 92bfe0d10c29
parent 1272 c4b5a5c928c2
child 1275 5a935138ebeb
equal deleted inserted replaced
1272:c4b5a5c928c2 1273:92bfe0d10c29
   349                     <arg value="-x!epoc32\data\media"/> <!-- Files created when emulator is used to create comms database - not worth releasing-->
   349                     <arg value="-x!epoc32\data\media"/> <!-- Files created when emulator is used to create comms database - not worth releasing-->
   350                     <arg value="-x!epoc32\build"/>
   350                     <arg value="-x!epoc32\build"/>
   351                     <arg value="-x!epoc32\release\armv5"/>
   351                     <arg value="-x!epoc32\release\armv5"/>
   352                     <arg value="-x!epoc32\release\winscw"/>
   352                     <arg value="-x!epoc32\release\winscw"/>
   353                     <arg value="-xr!*.sym"/>
   353                     <arg value="-xr!*.sym"/>
   354                     <arg value="${build.drive}/output/zips/release/binaries_epoc.zip"/>
   354                     <arg value="${build.drive}/output/zips/release/binaries_epoc.${sf.spec.package.zip.format}.zip"/>
   355                     <arg value="epoc32\"/>
   355                     <arg value="epoc32\"/>
   356                 </exec>
   356                 </exec>
   357             </sequential>
   357             </sequential>
   358             
   358             
   359             <if>
   359             <if>
   365                         <arg value="-i@${sf.sdk.header.list.file}"/>
   365                         <arg value="-i@${sf.sdk.header.list.file}"/>
   366                         <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   366                         <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   367                         <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   367                         <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   368                         <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   368                         <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   369                         <arg value="-x!epoc32/include/featureuids.h"/> <!-- This needs to come from the tools zip instead -->
   369                         <arg value="-x!epoc32/include/featureuids.h"/> <!-- This needs to come from the tools zip instead -->
   370                         <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/>
   370                         <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.${sf.spec.package.zip.format}.zip"/>
   371                     </exec>
   371                     </exec>
   372                     <!-- Check that all the files we want in the SDK are zipped -->
   372                     <!-- Check that all the files we want in the SDK are zipped -->
   373                     <antcall target="sf-log-to-brag">
   373                     <antcall target="sf-log-to-brag">
   374                         <param name="sf.brag.id" value="SDK"/>
   374                         <param name="sf.brag.id" value="SDK"/>
   375                         <param name="sf.brag.log" value="${build.log.dir}/zip_${build.id}_binaries_sdk.log"/>
   375                         <param name="sf.brag.log" value="${build.log.dir}/zip_${build.id}_binaries_sdk.log"/>
   391                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   391                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   392                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   392                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   393                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   393                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   394                 <arg value="-xr!*.sym"/>
   394                 <arg value="-xr!*.sym"/>
   395                 <arg value="-xr!*.lib"/>
   395                 <arg value="-xr!*.lib"/>
   396                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/>
   396                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.${sf.spec.package.zip.format}.zip"/>
   397                 <arg value="epoc32\release\winscw\udeb"/>
   397                 <arg value="epoc32\release\winscw\udeb"/>
   398             </exec>
   398             </exec>
   399             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
   399             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
   400                 <arg value="a"/>
   400                 <arg value="a"/>
   401                 <arg value="-t${sf.spec.package.zip.format}"/>
   401                 <arg value="-t${sf.spec.package.zip.format}"/>
   402                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   402                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   403                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   403                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   404                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   404                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   405                 <arg value="-xr!*.sym"/>
   405                 <arg value="-xr!*.sym"/>
   406                 <arg value="-xr!*.lib"/>
   406                 <arg value="-xr!*.lib"/>
   407                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/>
   407                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.${sf.spec.package.zip.format}.zip"/>
   408                 <arg value="epoc32\release\winscw\urel"/>
   408                 <arg value="epoc32\release\winscw\urel"/>
   409             </exec>
   409             </exec>
   410             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
   410             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
   411                 <arg value="a"/>
   411                 <arg value="a"/>
   412                 <arg value="-t${sf.spec.package.zip.format}"/>
   412                 <arg value="-t${sf.spec.package.zip.format}"/>
   413                 <arg value="-ir!epoc32/release/winscw/*.lib"/>
   413                 <arg value="-ir!epoc32/release/winscw/*.lib"/>
   414                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   414                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   415                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   415                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   416                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   416                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   417                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/>
   417                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.${sf.spec.package.zip.format}.zip"/>
   418             </exec>
   418             </exec>
   419             
   419             
   420             <!-- ARMv5 binaries, by udeb/urel/lib -->
   420             <!-- ARMv5 binaries, by udeb/urel/lib -->
   421             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   421             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   422                 <arg value="a"/>
   422                 <arg value="a"/>
   423                 <arg value="-t${sf.spec.package.zip.format}"/>
   423                 <arg value="-t${sf.spec.package.zip.format}"/>
   424                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   424                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   425                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   425                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   426                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   426                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   427                 <arg value="-xr!*.sym"/>
   427                 <arg value="-xr!*.sym"/>
   428                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/>
   428                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.${sf.spec.package.zip.format}.zip"/>
   429                 <arg value="epoc32\release\armv5\udeb"/>
   429                 <arg value="epoc32\release\armv5\udeb"/>
   430             </exec>
   430             </exec>
   431             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
   431             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
   432                 <arg value="a"/>
   432                 <arg value="a"/>
   433                 <arg value="-t${sf.spec.package.zip.format}"/>
   433                 <arg value="-t${sf.spec.package.zip.format}"/>
   434                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   434                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   435                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   435                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   436                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   436                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   437                 <arg value="-xr!*.sym"/>
   437                 <arg value="-xr!*.sym"/>
   438                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/>
   438                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.${sf.spec.package.zip.format}.zip"/>
   439                 <arg value="epoc32\release\armv5\urel"/>
   439                 <arg value="epoc32\release\armv5\urel"/>
   440             </exec>
   440             </exec>
   441             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
   441             <exec executable="7za" dir="${build.drive}/" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
   442                 <arg value="a"/>
   442                 <arg value="a"/>
   443                 <arg value="-t${sf.spec.package.zip.format}"/>
   443                 <arg value="-t${sf.spec.package.zip.format}"/>
   444                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   444                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   445                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   445                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   446                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   446                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   447                 <arg value="-xr!*.sym"/>
   447                 <arg value="-xr!*.sym"/>
   448                 <arg value="-ir!epoc32/release/armv5/_*.bin"/> <!-- include bootloaders in common lib zipfile -->
   448                 <arg value="-ir!epoc32/release/armv5/_*.bin"/> <!-- include bootloaders in common lib zipfile -->
   449                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/>
   449                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.${sf.spec.package.zip.format}.zip"/>
   450                 <arg value="epoc32\release\armv5\lib"/>
   450                 <arg value="epoc32\release\armv5\lib"/>
   451             </exec>
   451             </exec>
   452         </parallel>
   452         </parallel>
   453         
   453         
   454         <runtarget target="sf-package-tools"/>
   454         <runtarget target="sf-package-tools"/>
   473             <arg value="a"/>
   473             <arg value="a"/>
   474             <arg value="-t${sf.spec.package.zip.format}"/>
   474             <arg value="-t${sf.spec.package.zip.format}"/>
   475             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   475             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   476             <arg value="-x@/output/temp_build_files/manifest_excludelist.txt"/>
   476             <arg value="-x@/output/temp_build_files/manifest_excludelist.txt"/>
   477             <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   477             <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   478             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/>
   478             <arg value="${build.drive}/output/zips/release/tools_epoc.${sf.spec.package.zip.format}.zip"/>
   479             <arg value="epoc32/tools"/>
   479             <arg value="epoc32/tools"/>
   480             <arg value="epoc32/gcc"/>
   480             <arg value="epoc32/gcc"/>
   481             <arg value="epoc32/gcc_mingw"/>
   481             <arg value="epoc32/gcc_mingw"/>
   482             <arg value="epoc32/data/buildinfo.txt"/>
   482             <arg value="epoc32/data/buildinfo.txt"/>
   483             <arg value="epoc32/data/config/features.dat"/>
   483             <arg value="epoc32/data/config/features.dat"/>
   534 
   534 
   535         <exec executable="7za" dir="${build.drive}/" output="${build.drive}/zip_${manifest.shortname}.log">
   535         <exec executable="7za" dir="${build.drive}/" output="${build.drive}/zip_${manifest.shortname}.log">
   536             <arg value="a"/>
   536             <arg value="a"/>
   537             <arg value="-t${sf.spec.package.zip.format}"/>
   537             <arg value="-t${sf.spec.package.zip.format}"/>
   538             <arg value="-i@${manifest.fullname}"/>
   538             <arg value="-i@${manifest.fullname}"/>
   539             <arg value="${build.drive}/output/zips/release/${manifest.shortname}.zip"/> 
   539             <arg value="${build.drive}/output/zips/release/${manifest.shortname}.${sf.spec.package.zip.format}.zip"/> 
   540         </exec>
   540         </exec>
   541 
   541 
   542         <!-- merge release metadata -->
   542         <!-- merge release metadata -->
   543         <antcall target="sf-zip-content">
   543         <antcall target="sf-zip-content">
   544             <param name="zip.config.file"  value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   544             <param name="zip.config.file"  value="${temp.build.dir}/zip.cfg.xml.ftl"/>