common/build.postbuild.xml
changeset 795 7f120899dd36
parent 792 893b85cda81b
child 806 d6151ad46381
equal deleted inserted replaced
794:956f25464426 795:7f120899dd36
   207             <arg value="/c"/>
   207             <arg value="/c"/>
   208             <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/>
   208             <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/>
   209         </exec>
   209         </exec>
   210         </parallel>
   210         </parallel>
   211         <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
   211         <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
   212     		<mkdir dir="${build.output.dir}/zips/release"/> <!-- Hack to prevent non-existing release dir -->
   212         <mkdir dir="${build.output.dir}/zips/release"/> <!-- Hack to prevent non-existing release dir -->
   213         <zip destfile="${build.output.dir}/zips/release/build_md5.zip">
   213         <zip destfile="${build.output.dir}/zips/release/build_md5.zip">
   214             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
   214             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
   215         </zip>
   215         </zip>
   216     </target>    
   216     </target>    
   217     
   217     
   225         <parallel>
   225         <parallel>
   226             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
   226             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
   227                 <arg value="a"/>
   227                 <arg value="a"/>
   228                 <arg value="-tzip"/>
   228                 <arg value="-tzip"/>
   229                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   229                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   230                 <arg value="-x@${sf.common.config.dir}/templates/sdkFiles.txt"/>
   230                 <arg value="-x!epoc32\tools"/>
   231                 <arg value="-x!epoc32\tools"/>
   231                 <arg value="-x!epoc32\build"/>
   232                 <arg value="-x!epoc32\build"/>
   232                 <arg value="-x!epoc32\release\armv5"/>
   233                 <arg value="-x!epoc32\release\armv5"/>
   233                 <arg value="-x!epoc32\release\winscw"/>
   234                 <arg value="-x!epoc32\release\winscw"/>
   234                 <arg value="-xr!*.sym"/>
   235                 <arg value="-xr!*.sym"/>
   235                 <arg value="${build.drive}/output/zips/release/binaries_epoc.zip"/>
   236                 <arg value="${build.drive}/output/zips/release/binaries_epoc.zip"/>
   236                 <arg value="epoc32\"/>
   237                 <arg value="epoc32\"/>
       
   238             </exec>
       
   239             
       
   240             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log">
       
   241                 <arg value="a"/>
       
   242                 <arg value="-tzip"/>
       
   243                 <arg value="-i@${sf.common.config.dir}/templates/sdkFiles.txt"/>
       
   244                 <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/>
   237             </exec>
   245             </exec>
   238             
   246             
   239             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw.log">
   247             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw.log">
   240                 <arg value="a"/>
   248                 <arg value="a"/>
   241                 <arg value="-tzip"/>
   249                 <arg value="-tzip"/>
   256         </parallel>
   264         </parallel>
   257         <!-- Generate release_metadata entries for the above zips -->
   265         <!-- Generate release_metadata entries for the above zips -->
   258         <antcall target="sf-zip-content">
   266         <antcall target="sf-zip-content">
   259             <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   267             <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   260             <param name="zip.target.name" value="bin-just-metadata" />
   268             <param name="zip.target.name" value="bin-just-metadata" />
       
   269         </antcall>
       
   270         <!-- Check that all the files we want in the SDK are zipped -->
       
   271         <antcall target="sf-log-to-brag">
       
   272             <param name="sf.brag.id" value="SDK"/>
       
   273             <param name="sf.brag.log" value="${build.log.dir}/zip_${build.id}_binaries_sdk.log"/>
       
   274             <param name="sf.brag.phase" value="Postbuild"/>
       
   275             <param name="sf.brag.step" value="Package SDK"/>
   261         </antcall>
   276         </antcall>
   262     </target>
   277     </target>
   263 
   278 
   264     <target name="sf-package-postbuild-rnd" >
   279     <target name="sf-package-postbuild-rnd" >
   265         <antcall target="sf-zip-content">
   280         <antcall target="sf-zip-content">