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" depends="sf-preprocess-package-config"> |
89 <target name="sf-run-evalid" > |
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}"> |
186 <exec executable="cmd" dir="${build.drive}"> |
186 <exec executable="cmd" dir="${build.drive}"> |
187 <arg value="/c"/> |
187 <arg value="/c"/> |
188 <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/> |
188 <arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/> |
189 </exec> |
189 </exec> |
190 </parallel> |
190 </parallel> |
191 |
|
192 <!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box --> |
191 <!-- 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 --> |
192 <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"> |
193 <zip destfile="${build.output.dir}/zips/release/build_md5.zip"> |
195 <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/> |
194 <zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/> |
196 </zip> |
195 </zip> |
197 <!-- Generate release_metadata entries for the above zips --> |
196 <!-- Generate release_metadata entries for the above zips --> |
198 <antcall target="sf-zip-content"> |
197 <antcall target="sf-zip-content"> |
199 <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
198 <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" /> |
199 <param name="zip.target.name" value="bin-just-metadata" /> |
201 </antcall> |
200 </antcall> |
202 </target> |
201 </target> |
203 |
202 |
204 <target name="sf-package-binary" depends="sf-preprocess-package-config,sf-package-postbuild-rnd"> |
203 <target name="sf-package-binary" depends="sf-package-postbuild-rnd"> |
205 <!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries: |
204 <!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries: |
206 would need to update the template and possibly the script that populates it --> |
205 would need to update the template and possibly the script that populates it --> |
207 <!--antcall target="sf-zip-content"> |
206 <!--antcall target="sf-zip-content"> |
208 <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
207 <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
209 <param name="zip.target.name" value="bin" /> |
208 <param name="zip.target.name" value="bin" /> |
245 <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
244 <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
246 <param name="zip.target.name" value="bin-just-metadata" /> |
245 <param name="zip.target.name" value="bin-just-metadata" /> |
247 </antcall> |
246 </antcall> |
248 </target> |
247 </target> |
249 |
248 |
250 <target name="sf-package-postbuild-rnd" depends="sf-preprocess-package-config"> |
249 <target name="sf-package-postbuild-rnd" > |
251 <antcall target="sf-zip-content"> |
250 <antcall target="sf-zip-content"> |
252 <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
251 <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
253 <param name="zip.target.name" value="rnd-postbuild" /> |
252 <param name="zip.target.name" value="rnd-postbuild" /> |
254 </antcall> |
253 </antcall> |
255 </target> |
254 </target> |
256 |
255 |
257 <target name="sf-package-tools" depends="sf-preprocess-package-config"> |
256 <target name="sf-package-tools" > |
258 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log"> |
257 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log"> |
259 <arg value="a"/> |
258 <arg value="a"/> |
260 <arg value="-tzip"/> |
259 <arg value="-tzip"/> |
261 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
260 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
262 <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> |
261 <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> |
614 <!-- TODO? --> |
613 <!-- TODO? --> |
615 <fixcrlf file="${sf.releasenotes.wiki.txt}"/> |
614 <fixcrlf file="${sf.releasenotes.wiki.txt}"/> |
616 </target> |
615 </target> |
617 |
616 |
618 <!-- package all logs into zipfile for publishing --> |
617 <!-- package all logs into zipfile for publishing --> |
619 <target name="sf-zip-logs" depends="sf-preprocess-package-config"> |
618 <target name="sf-zip-logs" > |
620 <if> |
619 <if> |
621 <istrue value="${sf.spec.logs.zip.enable}"/> |
620 <istrue value="${sf.spec.logs.zip.enable}"/> |
622 <then> |
621 <then> |
623 <mkdir dir="${build.output.dir}/zips/release"/> <!-- workaround for when there's no other releaseables, just the logs --> |
622 <mkdir dir="${build.output.dir}/zips/release"/> <!-- workaround for when there's no other releaseables, just the logs --> |
624 <zip destfile="${build.output.dir}/zips/release/build_logs.zip" basedir="${build.drive}"> |
623 <zip destfile="${build.output.dir}/zips/release/build_logs.zip" basedir="${build.drive}"> |