common/build.postbuild.xml
changeset 664 29955a149536
parent 649 4468add5d834
child 676 63fe736c83fb
equal deleted inserted replaced
663:27b2711afab1 664:29955a149536
    84             </data>
    84             </data>
    85         </fmpp>
    85         </fmpp>
    86         <ant antfile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"/>
    86         <ant antfile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"/>
    87     </target>
    87     </target>
    88 
    88 
    89     <target name="sf-run-evalid">
    89     <target name="sf-run-evalid" depends="sf-preprocess-package-config">
    90         <delete dir="${build.drive}/output/md5"/>
    90         <delete dir="${build.drive}/output/md5"/>
    91         <mkdir  dir="${build.drive}/output/md5"/>
    91         <mkdir  dir="${build.drive}/output/md5"/>
    92 
    92 
    93         <parallel>
    93         <parallel>
    94         <exec executable="cmd" dir="${build.drive}">
    94         <exec executable="cmd" dir="${build.drive}">
   192         <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
   192         <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
   193 		<mkdir dir="${build.output.dir}/zips/release"/> <!-- Hack to prevent non-existing release dir -->
   193 		<mkdir dir="${build.output.dir}/zips/release"/> <!-- Hack to prevent non-existing release dir -->
   194         <zip destfile="${build.output.dir}/zips/release/build_md5.zip">
   194         <zip destfile="${build.output.dir}/zips/release/build_md5.zip">
   195             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
   195             <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
   196         </zip>
   196         </zip>
       
   197         <!-- Generate release_metadata entries for the above zips -->
       
   198         <antcall target="sf-zip-content">
       
   199             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
       
   200             <param name="zip.target.name" value="bin-just-metadata" />
       
   201         </antcall>
   197     </target>    
   202     </target>    
   198     
   203     
   199     <target name="sf-package-binary" depends="sf-preprocess-package-config,sf-package-postbuild-rnd">
   204     <target name="sf-package-binary" depends="sf-preprocess-package-config,sf-package-postbuild-rnd">
   200         <!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries:
   205         <!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries:
   201              would need to update the template and possibly the script that populates it -->
   206              would need to update the template and possibly the script that populates it -->
   610         <!-- TODO? -->
   615         <!-- TODO? -->
   611         <fixcrlf file="${sf.releasenotes.wiki.txt}"/>
   616         <fixcrlf file="${sf.releasenotes.wiki.txt}"/>
   612     </target>
   617     </target>
   613 
   618 
   614     <!-- package all logs into zipfile for publishing -->
   619     <!-- package all logs into zipfile for publishing -->
   615     <target name="sf-zip-logs">
   620     <target name="sf-zip-logs" depends="sf-preprocess-package-config">
   616         <if>
   621         <if>
   617             <istrue value="${sf.spec.logs.zip.enable}"/>
   622             <istrue value="${sf.spec.logs.zip.enable}"/>
   618             <then>
   623             <then>
   619                 <mkdir dir="${build.output.dir}/zips/release"/> <!-- workaround for when there's no other releaseables, just the logs -->
   624                 <mkdir dir="${build.output.dir}/zips/release"/> <!-- workaround for when there's no other releaseables, just the logs -->
   620                 <zip destfile="${build.output.dir}/zips/release/build_logs.zip" basedir="${build.drive}"> 
   625                 <zip destfile="${build.output.dir}/zips/release/build_logs.zip" basedir="${build.drive}"> 
   627                 <mkdir dir="${build.drive}/output/logs/releaseables"/> 
   632                 <mkdir dir="${build.drive}/output/logs/releaseables"/> 
   628                 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip">
   633                 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip">
   629                     <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/>
   634                     <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/>
   630                     <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/>
   635                     <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/>
   631                 </zip>
   636                 </zip>
       
   637                 <antcall target="sf-zip-content">
       
   638                     <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
       
   639                     <param name="zip.target.name" value="info-just-metadata" />
       
   640                 </antcall>
   632             </then>
   641             </then>
   633         </if>
   642         </if>
   634      </target>
   643      </target>
   635     
   644     
   636     <target name="sf-publish" depends="prep-publish">
   645     <target name="sf-publish" depends="prep-publish">