221 <!--antcall target="sf-zip-content"> |
221 <!--antcall target="sf-zip-content"> |
222 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
222 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
223 <param name="zip.target.name" value="bin" /> |
223 <param name="zip.target.name" value="bin" /> |
224 </antcall--> |
224 </antcall--> |
225 <parallel> |
225 <parallel> |
226 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log"> |
226 <sequential> |
227 <arg value="a"/> |
227 <if> |
228 <arg value="-tzip"/> |
228 <isset property="sf.sdk.header.list.file"/> |
229 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
229 <then> |
230 <arg value="-x@${sf.common.config.dir}/templates/sdkFiles.txt"/> |
230 <property name="sf.epoc32.exclusions.file" value="${sf.sdk.header.list.file}"/> |
231 <arg value="-x!epoc32\tools"/> |
231 </then> |
232 <arg value="-x!epoc32\build"/> |
232 </if> |
233 <arg value="-x!epoc32\release\armv5"/> |
233 <property name="sf.epoc32.exclusions.file" value="nul:"/> |
234 <arg value="-x!epoc32\release\winscw"/> |
234 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log"> |
235 <arg value="-xr!*.sym"/> |
235 <arg value="a"/> |
236 <arg value="${build.drive}/output/zips/release/binaries_epoc.zip"/> |
236 <arg value="-tzip"/> |
237 <arg value="epoc32\"/> |
237 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
238 </exec> |
238 <arg value="-x@${sf.epoc32.exclusions.file}"/> |
|
239 <arg value="-x!epoc32\tools"/> |
|
240 <arg value="-x!epoc32\build"/> |
|
241 <arg value="-x!epoc32\release\armv5"/> |
|
242 <arg value="-x!epoc32\release\winscw"/> |
|
243 <arg value="-xr!*.sym"/> |
|
244 <arg value="${build.drive}/output/zips/release/binaries_epoc.zip"/> |
|
245 <arg value="epoc32\"/> |
|
246 </exec> |
|
247 </sequential> |
239 |
248 |
240 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log"> |
249 <if> |
241 <arg value="a"/> |
250 <isset property="sf.sdk.header.list.file"/> |
242 <arg value="-tzip"/> |
251 <then> |
243 <arg value="-i@${sf.common.config.dir}/templates/sdkFiles.txt"/> |
252 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log"> |
244 <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/> |
253 <arg value="a"/> |
245 </exec> |
254 <arg value="-tzip"/> |
|
255 <arg value="-i@${sf.sdk.header.list.file}"/> |
|
256 <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/> |
|
257 </exec> |
|
258 <!-- Check that all the files we want in the SDK are zipped --> |
|
259 <antcall target="sf-log-to-brag"> |
|
260 <param name="sf.brag.id" value="SDK"/> |
|
261 <param name="sf.brag.log" value="${build.log.dir}/zip_${build.id}_binaries_sdk.log"/> |
|
262 <param name="sf.brag.phase" value="Postbuild"/> |
|
263 <param name="sf.brag.step" value="Package SDK"/> |
|
264 </antcall> |
|
265 <!-- Generate release_metadata entries for the SDK zip --> |
|
266 <antcall target="sf-zip-content"> |
|
267 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
|
268 <param name="zip.target.name" value="bin-sdk-just-metadata" /> |
|
269 </antcall> |
|
270 </then> |
|
271 </if> |
246 |
272 |
247 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw.log"> |
273 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw.log"> |
248 <arg value="a"/> |
274 <arg value="a"/> |
249 <arg value="-tzip"/> |
275 <arg value="-tzip"/> |
250 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
276 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
264 </parallel> |
290 </parallel> |
265 <!-- Generate release_metadata entries for the above zips --> |
291 <!-- Generate release_metadata entries for the above zips --> |
266 <antcall target="sf-zip-content"> |
292 <antcall target="sf-zip-content"> |
267 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
293 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
268 <param name="zip.target.name" value="bin-just-metadata" /> |
294 <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"/> |
|
276 </antcall> |
295 </antcall> |
277 </target> |
296 </target> |
278 |
297 |
279 <target name="sf-package-postbuild-rnd" > |
298 <target name="sf-package-postbuild-rnd" > |
280 <antcall target="sf-zip-content"> |
299 <antcall target="sf-zip-content"> |