common/build.postbuild.xml
changeset 912 5a63512dfd19
parent 911 49d8149ba655
child 915 9bfe1b1c0a41
equal deleted inserted replaced
911:49d8149ba655 912:5a63512dfd19
   235                     </then>
   235                     </then>
   236                 </if>
   236                 </if>
   237                 <property name="sf.epoc32.exclusions.file" value="nul:"/>
   237                 <property name="sf.epoc32.exclusions.file" value="nul:"/>
   238                 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
   238                 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
   239                     <arg value="a"/>
   239                     <arg value="a"/>
   240                     <arg value="-tzip"/>
   240                     <arg value="-t${sf.spec.package.zip.format}"/>
   241                     <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   241                     <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   242                     <arg value="-x@${sf.epoc32.exclusions.file}"/>
   242                     <arg value="-x@${sf.epoc32.exclusions.file}"/>
   243                     <arg value="-x!epoc32\gcc"/>
   243                     <arg value="-x!epoc32\gcc"/>
   244                     <arg value="-x!epoc32\tools"/>
   244                     <arg value="-x!epoc32\tools"/>
   245                     <arg value="-x!epoc32\build"/>
   245                     <arg value="-x!epoc32\build"/>
   254             <if>
   254             <if>
   255                 <isset property="sf.sdk.header.list.file"/>
   255                 <isset property="sf.sdk.header.list.file"/>
   256                 <then>
   256                 <then>
   257                     <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log">
   257                     <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log">
   258                         <arg value="a"/>
   258                         <arg value="a"/>
   259                         <arg value="-tzip"/>
   259                         <arg value="-t${sf.spec.package.zip.format}"/>
   260                         <arg value="-i@${sf.sdk.header.list.file}"/>
   260                         <arg value="-i@${sf.sdk.header.list.file}"/>
   261                         <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   261                         <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   262                         <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/>
   262                         <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/>
   263                     </exec>
   263                     </exec>
   264                     <!-- Check that all the files we want in the SDK are zipped -->
   264                     <!-- Check that all the files we want in the SDK are zipped -->
   277             </if>
   277             </if>
   278             
   278             
   279             <!-- WinsCW binaries, by udeb/urel/lib -->
   279             <!-- WinsCW binaries, by udeb/urel/lib -->
   280             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_udeb.log">
   280             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_udeb.log">
   281                 <arg value="a"/>
   281                 <arg value="a"/>
   282                 <arg value="-tzip"/>
   282                 <arg value="-t${sf.spec.package.zip.format}"/>
   283                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   283                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   284                 <arg value="-xr!*.sym"/>
   284                 <arg value="-xr!*.sym"/>
   285                 <arg value="-xr!*.lib"/>
   285                 <arg value="-xr!*.lib"/>
   286                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/>
   286                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/>
   287                 <arg value="epoc32\release\winscw\udeb"/>
   287                 <arg value="epoc32\release\winscw\udeb"/>
   288             </exec>
   288             </exec>
   289             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
   289             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
   290                 <arg value="a"/>
   290                 <arg value="a"/>
   291                 <arg value="-tzip"/>
   291                 <arg value="-t${sf.spec.package.zip.format}"/>
   292                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   292                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   293                 <arg value="-xr!*.sym"/>
   293                 <arg value="-xr!*.sym"/>
   294                 <arg value="-xr!*.lib"/>
   294                 <arg value="-xr!*.lib"/>
   295                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/>
   295                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/>
   296                 <arg value="epoc32\release\winscw\urel"/>
   296                 <arg value="epoc32\release\winscw\urel"/>
   297             </exec>
   297             </exec>
   298             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
   298             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
   299                 <arg value="a"/>
   299                 <arg value="a"/>
   300                 <arg value="-tzip"/>
   300                 <arg value="-t${sf.spec.package.zip.format}"/>
       
   301                 <arg value="-ir!epoc32/release/winscw/*.lib"/>
   301                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   302                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   302                 <arg value="-ir*.lib"/>
       
   303                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/>
   303                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/>
   304                 <arg value="epoc32\release\winscw\"/>
       
   305             </exec>
   304             </exec>
   306             
   305             
   307             <!-- ARMv5 binaries, by udeb/urel/lib -->
   306             <!-- ARMv5 binaries, by udeb/urel/lib -->
   308             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   307             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   309                 <arg value="a"/>
   308                 <arg value="a"/>
   310                 <arg value="-tzip"/>
   309                 <arg value="-t${sf.spec.package.zip.format}"/>
   311                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   310                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   312                 <arg value="-xr!*.sym"/>
   311                 <arg value="-xr!*.sym"/>
   313                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/>
   312                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/>
   314                 <arg value="epoc32\release\armv5\udeb"/>
   313                 <arg value="epoc32\release\armv5\udeb"/>
   315             </exec>
   314             </exec>
   316             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
   315             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
   317                 <arg value="a"/>
   316                 <arg value="a"/>
   318                 <arg value="-tzip"/>
   317                 <arg value="-t${sf.spec.package.zip.format}"/>
   319                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   318                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   320                 <arg value="-xr!*.sym"/>
   319                 <arg value="-xr!*.sym"/>
   321                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/>
   320                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/>
   322                 <arg value="epoc32\release\armv5\urel"/>
   321                 <arg value="epoc32\release\armv5\urel"/>
   323             </exec>
   322             </exec>
   324             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
   323             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
   325                 <arg value="a"/>
   324                 <arg value="a"/>
   326                 <arg value="-tzip"/>
   325                 <arg value="-t${sf.spec.package.zip.format}"/>
   327                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   326                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   328                 <arg value="-xr!*.sym"/>
   327                 <arg value="-xr!*.sym"/>
   329                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/>
   328                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/>
   330                 <arg value="epoc32\release\armv5\lib"/>
   329                 <arg value="epoc32\release\armv5\lib"/>
   331             </exec>
   330             </exec>
   346     </target>
   345     </target>
   347 
   346 
   348     <target name="sf-package-tools" >
   347     <target name="sf-package-tools" >
   349         <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log">
   348         <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log">
   350             <arg value="a"/>
   349             <arg value="a"/>
   351             <arg value="-tzip"/>
   350             <arg value="-t${sf.spec.package.zip.format}"/>
   352             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   351             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   353             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> 
   352             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> 
   354             <arg value="epoc32/tools"/>
   353             <arg value="epoc32/tools"/>
   355             <arg value="epoc32/gcc"/>
   354             <arg value="epoc32/gcc"/>
   356         </exec>
   355         </exec>