common/build.postbuild.xml
changeset 915 9bfe1b1c0a41
parent 914 e4c5389160b3
parent 912 5a63512dfd19
child 920 3f238c627274
equal deleted inserted replaced
914:e4c5389160b3 915:9bfe1b1c0a41
   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 -->
   274                         <param name="zip.target.name" value="bin-sdk-just-metadata" />
   274                         <param name="zip.target.name" value="bin-sdk-just-metadata" />
   275                     </antcall>
   275                     </antcall>
   276                 </then>
   276                 </then>
   277             </if>
   277             </if>
   278             
   278             
   279             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw.log">
   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                 <arg value="a"/>
   281                 <arg value="a"/>
   281                 <arg value="-tzip"/>
   282                 <arg value="-t${sf.spec.package.zip.format}"/>
   282                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   283                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   283                 <arg value="-xr!*.sym"/>
   284                 <arg value="-xr!*.sym"/>
   284                 <arg value="${build.drive}/output/zips/release/binaries_winscw.zip"/>
   285                 <arg value="-xr!*.lib"/>
   285                 <arg value="epoc32\release\winscw\"/>
   286                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/>
       
   287                 <arg value="epoc32\release\winscw\udeb"/>
       
   288             </exec>
       
   289             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
       
   290                 <arg value="a"/>
       
   291                 <arg value="-t${sf.spec.package.zip.format}"/>
       
   292                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   293                 <arg value="-xr!*.sym"/>
       
   294                 <arg value="-xr!*.lib"/>
       
   295                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/>
       
   296                 <arg value="epoc32\release\winscw\urel"/>
       
   297             </exec>
       
   298             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
       
   299                 <arg value="a"/>
       
   300                 <arg value="-t${sf.spec.package.zip.format}"/>
       
   301                 <arg value="-ir!epoc32/release/winscw/*.lib"/>
       
   302                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   303                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/>
   286             </exec>
   304             </exec>
   287             
   305             
   288             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5.log">
   306             <!-- ARMv5 binaries, by udeb/urel/lib -->
       
   307             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   289                 <arg value="a"/>
   308                 <arg value="a"/>
   290                 <arg value="-tzip"/>
   309                 <arg value="-t${sf.spec.package.zip.format}"/>
   291                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   310                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   292                 <arg value="-xr!*.sym"/>
   311                 <arg value="-xr!*.sym"/>
   293                 <arg value="${build.drive}/output/zips/release/binaries_armv5.zip"/>
   312                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/>
   294                 <arg value="epoc32\release\armv5\"/>
   313                 <arg value="epoc32\release\armv5\udeb"/>
   295             </exec>
   314             </exec>
       
   315             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
       
   316                 <arg value="a"/>
       
   317                 <arg value="-t${sf.spec.package.zip.format}"/>
       
   318                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   319                 <arg value="-xr!*.sym"/>
       
   320                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/>
       
   321                 <arg value="epoc32\release\armv5\urel"/>
       
   322             </exec>
       
   323             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
       
   324                 <arg value="a"/>
       
   325                 <arg value="-t${sf.spec.package.zip.format}"/>
       
   326                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   327                 <arg value="-xr!*.sym"/>
       
   328                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/>
       
   329                 <arg value="epoc32\release\armv5\lib"/>
       
   330             </exec>
       
   331 
   296         </parallel>
   332         </parallel>
   297         <!-- Generate release_metadata entries for the above zips -->
   333         <!-- Generate release_metadata entries for the above zips -->
   298         <antcall target="sf-zip-content">
   334         <antcall target="sf-zip-content">
   299             <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   335             <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   300             <param name="zip.target.name" value="bin-just-metadata" />
   336             <param name="zip.target.name" value="bin-just-metadata" />
   309     </target>
   345     </target>
   310 
   346 
   311     <target name="sf-package-tools" >
   347     <target name="sf-package-tools" >
   312         <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">
   313             <arg value="a"/>
   349             <arg value="a"/>
   314             <arg value="-tzip"/>
   350             <arg value="-t${sf.spec.package.zip.format}"/>
   315             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   351             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   316             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> 
   352             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> 
   317             <arg value="epoc32/tools"/>
   353             <arg value="epoc32/tools"/>
   318             <arg value="epoc32/gcc"/>
   354             <arg value="epoc32/gcc"/>
   319         </exec>
   355         </exec>