author | Chetan Kapoor <chetank@symbian.org> |
Mon, 26 Apr 2010 16:21:58 +0100 | |
changeset 1002 | 3cb49f24dbca |
parent 960 | b0315c337be6 |
child 1004 | bd44a5c3330c |
permissions | -rw-r--r-- |
360
38e924ed959d
Created framework for separating postbuild related activities into a separate file.
Simon Howkins <simonh@symbian.org>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
38e924ed959d
Created framework for separating postbuild related activities into a separate file.
Simon Howkins <simonh@symbian.org>
parents:
diff
changeset
|
2 |
<project name="SF-POSTBUILD" xmlns:hlm="http://www.nokia.com/helium"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
3 |
<target name="sf-postbuild"> |
861
caa0601f50c5
Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents:
848
diff
changeset
|
4 |
<stopwatch name="sf-postbuild"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
5 |
<echo>[SF-POSTBUILD]</echo> |
698
382728cd25d2
Add sf-rombuild target to build ROMs. Backout ARM license check suppression.
Shabe Razvi <shaber@symbian.org>
parents:
685
diff
changeset
|
6 |
|
744
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
7 |
<if><istrue value="${sf.relicense.exported.headers}"/> |
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
8 |
<then> |
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
9 |
<runtarget target="sf-run-sfl-licence-munging"/> |
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
10 |
</then> |
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
11 |
</if> |
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
12 |
|
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
13 |
<parallel> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
14 |
<!-- TAG SOURCE CODE --> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
15 |
<if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
16 |
<istrue value="${sf.spec.tagafterbuild.enable}" /> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
17 |
<then> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
18 |
<echo message="Apply tag to the source code used in this build"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
19 |
<runtarget target="sf-tag-hg-code"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
20 |
</then> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
21 |
</if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
22 |
|
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
23 |
<!-- Create MD5s --> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
24 |
<if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
25 |
<istrue value="${sf.spec.md5.enable}"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
26 |
<then> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
27 |
<echo message="INFO Creating MD5s"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
28 |
<runtarget target="sf-run-evalid"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
29 |
</then> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
30 |
</if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
31 |
|
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
32 |
<!-- Package up the binaries we built --> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
33 |
<if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
34 |
<istrue value="${sf.spec.package.bin.enable}"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
35 |
<then> |
861
caa0601f50c5
Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents:
848
diff
changeset
|
36 |
<stopwatch name="sf-postbuild packaging binaries"/> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
37 |
<echo message="INFO Packaging Binaries"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
38 |
<runtarget target="sf-package-binary"/> |
920
3f238c627274
Packaging tools with the binaries.
MattD <mattd@symbian.org>
parents:
915
diff
changeset
|
39 |
<!-- <runtarget target="sf-package-tools"/> --> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
40 |
|
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
41 |
<echo message="INFO Validate Zip files"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
42 |
<runtarget target="sf-package-validate"/> |
861
caa0601f50c5
Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents:
848
diff
changeset
|
43 |
<stopwatch name="sf-postbuild packaging binaries" action="elapsed"/> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
44 |
</then> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
45 |
</if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
46 |
|
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
47 |
<!-- run build analysis tools --> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
48 |
<runtarget target="sf-run-analysis"/> |
792
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
49 |
|
627
56a1d97e7c73
Skip sf-compare-to-baseline if sf.spec.publish.enable is false. Update FBF documentation.
Shabe Razvi <shaber@symbian.org>
parents:
600
diff
changeset
|
50 |
<if> |
792
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
51 |
<istrue value="${sf.spec.publish.enable}"/> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
52 |
<then> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
53 |
<!-- Generate reports to compare this build to a previous one --> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
54 |
<runtarget target="sf-compare-to-baseline"/> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
55 |
</then> |
627
56a1d97e7c73
Skip sf-compare-to-baseline if sf.spec.publish.enable is false. Update FBF documentation.
Shabe Razvi <shaber@symbian.org>
parents:
600
diff
changeset
|
56 |
</if> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
57 |
</parallel> |
792
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
58 |
|
680
81550e87fc91
Moved the generation of the release metadata entry for the MD5 zip outside of
Simon Howkins <simonh@symbian.org>
parents:
678
diff
changeset
|
59 |
<!-- Generate release_metadata entries for the md5 zips --> |
81550e87fc91
Moved the generation of the release metadata entry for the MD5 zip outside of
Simon Howkins <simonh@symbian.org>
parents:
678
diff
changeset
|
60 |
<antcall target="sf-zip-content"> |
681
eeab5a04dc46
Updated throughout to use the "temp_build_files" dir on the build drive rather than the "generated" directory in the fbf source tree.
Simon Howkins <simonh@symbian.org>
parents:
680
diff
changeset
|
61 |
<param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
925
f1243b2c51fe
build_md5.zip now in release_metadata.xml
MattD <mattd@symbian.org>
parents:
923
diff
changeset
|
62 |
<param name="zip.target.name" value="md5-just-metadata" /> |
680
81550e87fc91
Moved the generation of the release metadata entry for the MD5 zip outside of
Simon Howkins <simonh@symbian.org>
parents:
678
diff
changeset
|
63 |
</antcall> |
81550e87fc91
Moved the generation of the release metadata entry for the MD5 zip outside of
Simon Howkins <simonh@symbian.org>
parents:
678
diff
changeset
|
64 |
|
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
65 |
<!-- Launch smoketest --> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
66 |
<if><istrue value="${sf.spec.test.sendpkg.enable}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
67 |
<then> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
68 |
<runtarget target="sf-build-smoketestpkg"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
69 |
<runtarget target="sf-send-testpkg"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
70 |
</then> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
71 |
</if> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
72 |
|
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
73 |
<!-- Launch BC check --> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
74 |
<if><istrue value="${sf.spec.bccheck.enable}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
75 |
<then> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
76 |
<runtarget target="sf-bc-check"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
77 |
</then> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
78 |
</if> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
79 |
|
792
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
80 |
<!-- copy log files linked to the generation of roms for REE --> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
81 |
<runtarget target="sf-copy-rom-logs"/> |
959
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
82 |
|
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
83 |
<runtarget target="sf-merge-brag"/> |
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
84 |
|
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
85 |
<!-- Zip up all the logs --> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
86 |
<runtarget target="sf-zip-logs"/> |
695
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
87 |
|
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
88 |
<if> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
89 |
<istrue value="${sf.spec.publish.enable}" /> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
90 |
<then> |
695
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
91 |
<echo message="Send links to Diamonds"/> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
92 |
<runtarget target="sf-links-to-diamonds"/> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
93 |
<echo message="Send BRAG status information to Diamonds"/> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
94 |
<runtarget target="sf-brag-to-diamonds"/> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
95 |
|
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
96 |
<echo message="Publish log files and reports to ${sf.spec.publish.rootdir}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
97 |
<runtarget target="sf-publish"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
98 |
</then> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
99 |
</if> |
861
caa0601f50c5
Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents:
848
diff
changeset
|
100 |
<stopwatch name="sf-postbuild" action="elapsed"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
101 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
102 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
103 |
<target name="sf-tag-hg-code"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
104 |
<property name="sf.tagafterbuild.tag" value="${sf.spec.job.name}_${sf.spec.job.codeline}.${sf.spec.job.number}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
105 |
<fmpp sourceFile="${sf.common.config.dir}/templates/tag-hg-code.ant.xml.ftl" |
681
eeab5a04dc46
Updated throughout to use the "temp_build_files" dir on the build drive rather than the "generated" directory in the fbf source tree.
Simon Howkins <simonh@symbian.org>
parents:
680
diff
changeset
|
106 |
outputFile="${temp.build.dir}/tag-hg-code.ant.xml"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
107 |
<data expandProperties="yes"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
108 |
ant: antProperties() |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
109 |
data: csv(${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
110 |
</data> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
111 |
</fmpp> |
681
eeab5a04dc46
Updated throughout to use the "temp_build_files" dir on the build drive rather than the "generated" directory in the fbf source tree.
Simon Howkins <simonh@symbian.org>
parents:
680
diff
changeset
|
112 |
<ant antfile="${temp.build.dir}/tag-hg-code.ant.xml"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
113 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
114 |
|
677
dd6b7decdca2
Major packaging change to work around parallel calls - stopped zipping targets from having direct dependency on 'sf-preprocess-package-config', and instead have 'sf-zip-content' call 'sf-preprocess-package-config' if needed. Changed 'sf-prep' to call a target that wipes out the 'generated' directory. It's not perfect but it gets us going again.
MattD <mattd@symbian.org>
parents:
676
diff
changeset
|
115 |
<target name="sf-run-evalid" > |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
116 |
<delete dir="${build.drive}/output/md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
117 |
<mkdir dir="${build.drive}/output/md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
118 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
119 |
<parallel> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
120 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
121 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
122 |
<arg value="evalid -g epoc32/include output/md5/epoc32_include.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
123 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
124 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
125 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
126 |
<arg value="evalid -g epoc32/s60 output/md5/epoc32_s60.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
127 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
128 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
129 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
130 |
<arg value="evalid -g epoc32/localisation output/md5/epoc32_localisation.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
131 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
132 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
133 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
134 |
<arg value="evalid -x \.sym$ -x ^armv5/udeb -x ^armv5/urel -x ^winscw/udeb -x ^winscw/urel -g epoc32/release output/md5/epoc32_release.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
135 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
136 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
137 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
138 |
<arg value="evalid -x \.sym$ -g epoc32/release/armv5/udeb output/md5/epoc32_release_armv5_udeb.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
139 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
140 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
141 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
142 |
<arg value="evalid -x \.sym$ -g epoc32/release/armv5/urel output/md5/epoc32_release_armv5_urel.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
143 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
144 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
145 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
146 |
<arg value="evalid -x \.sym$ -g epoc32/release/winscw/udeb output/md5/epoc32_release_winscw_udeb.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
147 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
148 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
149 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
150 |
<arg value="evalid -x \.sym$ -g epoc32/release/winscw/urel output/md5/epoc32_release_winscw_urel.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
151 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
152 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
153 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
154 |
<arg value="evalid -g epoc32/cshlpcmp_template output/md5/epoc32_cshlpcmp_template.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
155 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
156 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
157 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
158 |
<arg value="evalid -g epoc32/data output/md5/epoc32_data.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
159 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
160 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
161 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
162 |
<arg value="evalid -g epoc32/engdoc output/md5/epoc32_engdoc.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
163 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
164 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
165 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
166 |
<arg value="evalid -g epoc32/engineeringtools output/md5/epoc32_engineeringtools.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
167 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
168 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
169 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
170 |
<arg value="evalid -g epoc32/gcc output/md5/epoc32_gcc.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
171 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
172 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
173 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
174 |
<arg value="evalid -g epoc32/gcc_mingw output/md5/epoc32_gcc_mingw.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
175 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
176 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
177 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
178 |
<arg value="evalid -g epoc32/ksa output/md5/epoc32_ksa.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
179 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
180 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
181 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
182 |
<arg value="evalid -g epoc32/rom output/md5/epoc32_rom.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
183 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
184 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
185 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
186 |
<arg value="evalid -g epoc32/rombuild output/md5/epoc32_rombuild.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
187 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
188 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
189 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
190 |
<arg value="evalid -g epoc32/sbs_config output/md5/epoc32_sbs_config.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
191 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
192 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
193 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
194 |
<arg value="evalid -g epoc32/sdk_special output/md5/epoc32_sdk_special.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
195 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
196 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
197 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
198 |
<arg value="evalid -g epoc32/stdapis output/md5/epoc32_stdapis.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
199 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
200 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
201 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
202 |
<arg value="evalid -g epoc32/stubs output/md5/epoc32_stubs.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
203 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
204 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
205 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
206 |
<arg value="evalid -g epoc32/tools output/md5/epoc32_tools.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
207 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
208 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
209 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
210 |
<arg value="evalid -g epoc32/wins output/md5/epoc32_wins.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
211 |
</exec> |
684
6d65abb8bba1
sf-run-evalid - minor change to make sure that evalid is run at the root of the build drive, which can stop the MD5s from being generated. (evalid requires dirs to be relative and not absolute)
MattD <mattd@symbian.org>
parents:
677
diff
changeset
|
212 |
<exec executable="cmd" dir="${build.drive}/"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
213 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
214 |
<arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
215 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
216 |
</parallel> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
217 |
<!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box --> |
795
7f120899dd36
Changed to package the SDK header files in a different zip to the rest of the epoc32 tree.
Simon Howkins <simonh@symbian.org>
parents:
792
diff
changeset
|
218 |
<mkdir dir="${build.output.dir}/zips/release"/> <!-- Hack to prevent non-existing release dir --> |
492
8820f5f867f2
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
491
diff
changeset
|
219 |
<zip destfile="${build.output.dir}/zips/release/build_md5.zip"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
220 |
<zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
221 |
</zip> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
222 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
223 |
|
677
dd6b7decdca2
Major packaging change to work around parallel calls - stopped zipping targets from having direct dependency on 'sf-preprocess-package-config', and instead have 'sf-zip-content' call 'sf-preprocess-package-config' if needed. Changed 'sf-prep' to call a target that wipes out the 'generated' directory. It's not perfect but it gets us going again.
MattD <mattd@symbian.org>
parents:
676
diff
changeset
|
224 |
<target name="sf-package-binary" depends="sf-package-postbuild-rnd"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
225 |
<!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries: |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
226 |
would need to update the template and possibly the script that populates it --> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
227 |
<!--antcall target="sf-zip-content"> |
681
eeab5a04dc46
Updated throughout to use the "temp_build_files" dir on the build drive rather than the "generated" directory in the fbf source tree.
Simon Howkins <simonh@symbian.org>
parents:
680
diff
changeset
|
228 |
<param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
229 |
<param name="zip.target.name" value="bin" /> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
230 |
</antcall--> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
231 |
<parallel> |
806
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
232 |
<sequential> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
233 |
<if> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
234 |
<isset property="sf.sdk.header.list.file"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
235 |
<then> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
236 |
<property name="sf.epoc32.exclusions.file" value="${sf.sdk.header.list.file}"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
237 |
</then> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
238 |
</if> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
239 |
<property name="sf.epoc32.exclusions.file" value="nul:"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
240 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log"> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
241 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
242 |
<arg value="-t${sf.spec.package.zip.format}"/> |
806
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
243 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
244 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
806
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
245 |
<arg value="-x@${sf.epoc32.exclusions.file}"/> |
838
a1ebf7f8e66f
Move gcc into tools_epoc.zip so that syborg/beagle rom building works during build from source only.
Shabe Razvi <shaber@symbian.org>
parents:
822
diff
changeset
|
246 |
<arg value="-x!epoc32\gcc"/> |
960
b0315c337be6
Changed packaging so that /epoc/gcc_mingw/** is put into tools_epoc.zip
Simon Howkins <simonh@symbian.org>
parents:
959
diff
changeset
|
247 |
<arg value="-x!epoc32\gcc_mingw"/> |
806
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
248 |
<arg value="-x!epoc32\tools"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
249 |
<arg value="-x!epoc32\build"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
250 |
<arg value="-x!epoc32\release\armv5"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
251 |
<arg value="-x!epoc32\release\winscw"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
252 |
<arg value="-xr!*.sym"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
253 |
<arg value="${build.drive}/output/zips/release/binaries_epoc.zip"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
254 |
<arg value="epoc32\"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
255 |
</exec> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
256 |
</sequential> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
257 |
|
806
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
258 |
<if> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
259 |
<isset property="sf.sdk.header.list.file"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
260 |
<then> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
261 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log"> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
262 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
263 |
<arg value="-t${sf.spec.package.zip.format}"/> |
806
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
264 |
<arg value="-i@${sf.sdk.header.list.file}"/> |
813
66884b6df45d
If any files are in both the list of SDK headers, and the list of RnD headers, then they're only zipped in the binaries_epoc_additional zip, and not the binaries_epoc_sdk zip.
Simon Howkins <simonh@symbian.org>
parents:
809
diff
changeset
|
265 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
266 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
806
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
267 |
<arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
268 |
</exec> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
269 |
<!-- Check that all the files we want in the SDK are zipped --> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
270 |
<antcall target="sf-log-to-brag"> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
271 |
<param name="sf.brag.id" value="SDK"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
272 |
<param name="sf.brag.log" value="${build.log.dir}/zip_${build.id}_binaries_sdk.log"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
273 |
<param name="sf.brag.phase" value="Postbuild"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
274 |
<param name="sf.brag.step" value="Package SDK"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
275 |
</antcall> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
276 |
<!-- Generate release_metadata entries for the SDK zip --> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
277 |
<antcall target="sf-zip-content"> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
278 |
<param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
279 |
<param name="zip.target.name" value="bin-sdk-just-metadata" /> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
280 |
</antcall> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
281 |
</then> |
d6151ad46381
Updated framework for packaging SDK headers so the contents to zip can be set by a project property (or it can zip everything together if it's not set).
Simon Howkins <simonh@symbian.org>
parents:
795
diff
changeset
|
282 |
</if> |
795
7f120899dd36
Changed to package the SDK header files in a different zip to the rest of the epoc32 tree.
Simon Howkins <simonh@symbian.org>
parents:
792
diff
changeset
|
283 |
|
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
284 |
<!-- WinsCW binaries, by udeb/urel/lib --> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
285 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_udeb.log"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
286 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
287 |
<arg value="-t${sf.spec.package.zip.format}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
288 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
289 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
290 |
<arg value="-xr!*.sym"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
291 |
<arg value="-xr!*.lib"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
292 |
<arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
293 |
<arg value="epoc32\release\winscw\udeb"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
294 |
</exec> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
295 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
296 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
297 |
<arg value="-t${sf.spec.package.zip.format}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
298 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
299 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
300 |
<arg value="-xr!*.sym"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
301 |
<arg value="-xr!*.lib"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
302 |
<arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
303 |
<arg value="epoc32\release\winscw\urel"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
304 |
</exec> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
305 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log"> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
306 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
307 |
<arg value="-t${sf.spec.package.zip.format}"/> |
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
308 |
<arg value="-ir!epoc32/release/winscw/*.lib"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
309 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
310 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
311 |
<arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
312 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
313 |
|
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
314 |
<!-- ARMv5 binaries, by udeb/urel/lib --> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
315 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
316 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
317 |
<arg value="-t${sf.spec.package.zip.format}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
318 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
319 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
320 |
<arg value="-xr!*.sym"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
321 |
<arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
322 |
<arg value="epoc32\release\armv5\udeb"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
323 |
</exec> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
324 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log"> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
325 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
326 |
<arg value="-t${sf.spec.package.zip.format}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
327 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
328 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
329 |
<arg value="-xr!*.sym"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
330 |
<arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
331 |
<arg value="epoc32\release\armv5\urel"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
332 |
</exec> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
333 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log"> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
334 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
335 |
<arg value="-t${sf.spec.package.zip.format}"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
336 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
337 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
338 |
<arg value="-xr!*.sym"/> |
937
d01f6a730008
Include armv5 bootloader binaries into lib zipfile.
Shabe Razvi <shaber@symbian.org>
parents:
925
diff
changeset
|
339 |
<arg value="-ir!epoc32/release/armv5/_*.bin"/> <!-- include bootloaders in common lib zipfile --> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
340 |
<arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
341 |
<arg value="epoc32\release\armv5\lib"/> |
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
342 |
</exec> |
920
3f238c627274
Packaging tools with the binaries.
MattD <mattd@symbian.org>
parents:
915
diff
changeset
|
343 |
<runtarget target="sf-package-tools"/> |
911
49d8149ba655
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Simon Howkins <simonh@symbian.org>
parents:
882
diff
changeset
|
344 |
|
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
345 |
</parallel> |
497
63547bf80809
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
492
diff
changeset
|
346 |
<!-- Generate release_metadata entries for the above zips --> |
63547bf80809
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
492
diff
changeset
|
347 |
<antcall target="sf-zip-content"> |
681
eeab5a04dc46
Updated throughout to use the "temp_build_files" dir on the build drive rather than the "generated" directory in the fbf source tree.
Simon Howkins <simonh@symbian.org>
parents:
680
diff
changeset
|
348 |
<param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
497
63547bf80809
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
492
diff
changeset
|
349 |
<param name="zip.target.name" value="bin-just-metadata" /> |
63547bf80809
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
492
diff
changeset
|
350 |
</antcall> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
351 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
352 |
|
677
dd6b7decdca2
Major packaging change to work around parallel calls - stopped zipping targets from having direct dependency on 'sf-preprocess-package-config', and instead have 'sf-zip-content' call 'sf-preprocess-package-config' if needed. Changed 'sf-prep' to call a target that wipes out the 'generated' directory. It's not perfect but it gets us going again.
MattD <mattd@symbian.org>
parents:
676
diff
changeset
|
353 |
<target name="sf-package-postbuild-rnd" > |
456
1ba3c86ebec0
Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents:
386
diff
changeset
|
354 |
<antcall target="sf-zip-content"> |
681
eeab5a04dc46
Updated throughout to use the "temp_build_files" dir on the build drive rather than the "generated" directory in the fbf source tree.
Simon Howkins <simonh@symbian.org>
parents:
680
diff
changeset
|
355 |
<param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
456
1ba3c86ebec0
Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents:
386
diff
changeset
|
356 |
<param name="zip.target.name" value="rnd-postbuild" /> |
1ba3c86ebec0
Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents:
386
diff
changeset
|
357 |
</antcall> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
358 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
359 |
|
677
dd6b7decdca2
Major packaging change to work around parallel calls - stopped zipping targets from having direct dependency on 'sf-preprocess-package-config', and instead have 'sf-zip-content' call 'sf-preprocess-package-config' if needed. Changed 'sf-prep' to call a target that wipes out the 'generated' directory. It's not perfect but it gets us going again.
MattD <mattd@symbian.org>
parents:
676
diff
changeset
|
360 |
<target name="sf-package-tools" > |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
361 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
362 |
<arg value="a"/> |
912
5a63512dfd19
quick fix for zipping winscw lib files. Added property 'sf.spec.package.zip.format' for the post-build zip format (default is '7z').
MattD <mattd@symbian.org>
parents:
911
diff
changeset
|
363 |
<arg value="-t${sf.spec.package.zip.format}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
364 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
1002
3cb49f24dbca
Modifying sf-package-binary target to exclude the overlay contents from packaging
Chetan Kapoor <chetank@symbian.org>
parents:
960
diff
changeset
|
365 |
<arg value="-x@${sf.spec.prebuilt.excludelist}"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
366 |
<arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
367 |
<arg value="epoc32/tools"/> |
838
a1ebf7f8e66f
Move gcc into tools_epoc.zip so that syborg/beagle rom building works during build from source only.
Shabe Razvi <shaber@symbian.org>
parents:
822
diff
changeset
|
368 |
<arg value="epoc32/gcc"/> |
960
b0315c337be6
Changed packaging so that /epoc/gcc_mingw/** is put into tools_epoc.zip
Simon Howkins <simonh@symbian.org>
parents:
959
diff
changeset
|
369 |
<arg value="epoc32/gcc_mingw"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
370 |
</exec> |
497
63547bf80809
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
492
diff
changeset
|
371 |
<antcall target="sf-zip-content"> |
681
eeab5a04dc46
Updated throughout to use the "temp_build_files" dir on the build drive rather than the "generated" directory in the fbf source tree.
Simon Howkins <simonh@symbian.org>
parents:
680
diff
changeset
|
372 |
<param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
497
63547bf80809
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
492
diff
changeset
|
373 |
<param name="zip.target.name" value="tools" /> |
63547bf80809
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
492
diff
changeset
|
374 |
</antcall> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
375 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
376 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
377 |
<target name="sf-package-validate"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
378 |
<exec executable="7z" dir="${build.drive}/output/zips" failonerror="false" output="${build.drive}/output/zips/validate.log"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
379 |
<arg value="t"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
380 |
<arg value="*.zip"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
381 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
382 |
<exec executable="7z" dir="${build.drive}/output/zips/release" failonerror="false" output="${build.drive}/output/zips/release/validate.log"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
383 |
<arg value="t"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
384 |
<arg value="*.zip"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
385 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
386 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
387 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
388 |
<!-- runs analysis of missing bins and source --> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
389 |
<target name="sf-run-analysis"> |
861
caa0601f50c5
Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents:
848
diff
changeset
|
390 |
<stopwatch name="sf-run-analysis"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
391 |
<mkdir dir="${build.log.dir}/analysis"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
392 |
<parallel> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
393 |
<runtarget target="sf-run-analysis-ant"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
394 |
<runtarget target="sf-run-analysis-raptor"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
395 |
<runtarget target="sf-run-analysis-yarp"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
396 |
<runtarget target="sf-run-analysis-whatlog-summary"/> |
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
397 |
<runtarget target="sf-run-analysis-missing-files"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
398 |
</parallel> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
399 |
<if> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
400 |
<istrue value="${sf.spec.publish.enable}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
401 |
<then> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
402 |
<runtarget target="sf-run-analysis-diamonds"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
403 |
</then> |
592
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
404 |
</if> |
861
caa0601f50c5
Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents:
848
diff
changeset
|
405 |
<stopwatch name="sf-run-analysis" action="elapsed"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
406 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
407 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
408 |
<target name="sf-run-analysis-ant"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
409 |
<echo message="Running source analysis of ANT output"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
410 |
<exec executable="perl" dir="${build.log.dir}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_scan_ant.log"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
411 |
<arg value="${sf.common.config.dir}/tools/analysis/scan_antlogs.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
412 |
<arg value="*ant*"/> |
914
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
882
diff
changeset
|
413 |
<arg value="*stderr*"/> <!-- helium 7 splits output into stderr logs, so use them also --> |
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
882
diff
changeset
|
414 |
<arg value="*sbs_error*"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
415 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
416 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
417 |
|
764
d00048f1b036
Improved Raptor parser, now "uh"
Dario Sestito <darios@symbian.org>
parents:
755
diff
changeset
|
418 |
<target name="sf-run-analysis-raptor"> |
809
6d9f7bb4fcec
Re-instated call to process raptor logs for BRAG purposes.
Simon Howkins <simonh@symbian.org>
parents:
806
diff
changeset
|
419 |
<!-- Cook the processed raptor logs to produce something in the right format for the BRAG system --> |
6d9f7bb4fcec
Re-instated call to process raptor logs for BRAG purposes.
Simon Howkins <simonh@symbian.org>
parents:
806
diff
changeset
|
420 |
<mkdir dir="${build.log.dir}/summary/"/> |
881
82070405cb6e
Remove redundant computation of some BRAG intermediate xml files
Dario Sestito <darios@symbian.org>
parents:
871
diff
changeset
|
421 |
<!-- exec executable="perl" output="${build.log.dir}/summary/sbs_BRAG.xml" logError="yes" failonerror="false"> |
809
6d9f7bb4fcec
Re-instated call to process raptor logs for BRAG purposes.
Simon Howkins <simonh@symbian.org>
parents:
806
diff
changeset
|
422 |
<arg value="${sf.common.config.dir}/tools/brag/sbsToBRAG.pl"/> |
6d9f7bb4fcec
Re-instated call to process raptor logs for BRAG purposes.
Simon Howkins <simonh@symbian.org>
parents:
806
diff
changeset
|
423 |
<arg value="${build.log.dir}/analysis/*_compile_preprocessed.log"/> |
881
82070405cb6e
Remove redundant computation of some BRAG intermediate xml files
Dario Sestito <darios@symbian.org>
parents:
871
diff
changeset
|
424 |
</exec --> |
809
6d9f7bb4fcec
Re-instated call to process raptor logs for BRAG purposes.
Simon Howkins <simonh@symbian.org>
parents:
806
diff
changeset
|
425 |
|
907
bab81256b297
Remove Raptor log preprocessing as no longer needed
Dario Sestito <darios@symbian.org>
parents:
906
diff
changeset
|
426 |
<echo message="Running UH parser on *_compile.log files"/> |
906
5239d4d0bed1
Take the UH parser from the utilities repo
Dario Sestito <darios@symbian.org>
parents:
882
diff
changeset
|
427 |
<apply executable="perl" dir="${build.drive}/utilities/uh_parser" failonerror="false" output="${build.log.dir}/analysis/${build.id}_raptorparse.log" parallel="true"> |
764
d00048f1b036
Improved Raptor parser, now "uh"
Dario Sestito <darios@symbian.org>
parents:
755
diff
changeset
|
428 |
<arg value="uh.pl"/> |
942
dabd7af4f869
Remove call to releaseables.pl script as now UH parser handles releaseables as well
Dario Sestito <darios@symbian.org>
parents:
937
diff
changeset
|
429 |
<arg value="-m"/> |
764
d00048f1b036
Improved Raptor parser, now "uh"
Dario Sestito <darios@symbian.org>
parents:
755
diff
changeset
|
430 |
<arg value="--basedir=${build.log.dir}"/> |
907
bab81256b297
Remove Raptor log preprocessing as no longer needed
Dario Sestito <darios@symbian.org>
parents:
906
diff
changeset
|
431 |
<fileset dir="${build.log.dir}"> |
bab81256b297
Remove Raptor log preprocessing as no longer needed
Dario Sestito <darios@symbian.org>
parents:
906
diff
changeset
|
432 |
<include name="*_compile.log"/> |
bab81256b297
Remove Raptor log preprocessing as no longer needed
Dario Sestito <darios@symbian.org>
parents:
906
diff
changeset
|
433 |
<exclude name="*build_check_compile.log"/> |
764
d00048f1b036
Improved Raptor parser, now "uh"
Dario Sestito <darios@symbian.org>
parents:
755
diff
changeset
|
434 |
</fileset> |
d00048f1b036
Improved Raptor parser, now "uh"
Dario Sestito <darios@symbian.org>
parents:
755
diff
changeset
|
435 |
</apply> |
383
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
436 |
|
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
437 |
<!-- Now iterate through the generated TSVs to sort them and remove duplicates --> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
438 |
<for param="tsv"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
439 |
<path> |
371
fcb6057a8009
Adjusted matching for processing TSV files, so it will not fail even if the dir has not been created.
Simon Howkins <simonh@symbian.org>
parents:
365
diff
changeset
|
440 |
<fileset dir="${build.log.dir}"> |
fcb6057a8009
Adjusted matching for processing TSV files, so it will not fail even if the dir has not been created.
Simon Howkins <simonh@symbian.org>
parents:
365
diff
changeset
|
441 |
<include name="releaseables/**/*.tsv"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
442 |
</fileset> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
443 |
</path> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
444 |
<sequential> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
445 |
<exec executable="perl" input="@{tsv}" output="@{tsv}"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
446 |
<arg value="${sf.common.config.dir}/tools/sortUnique.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
447 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
448 |
</sequential> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
449 |
</for> |
547
19f9d5fc6406
Added really basic failure extraction and BRAG calculation to build.
Simon Howkins <simonh@symbian.org>
parents:
546
diff
changeset
|
450 |
|
19f9d5fc6406
Added really basic failure extraction and BRAG calculation to build.
Simon Howkins <simonh@symbian.org>
parents:
546
diff
changeset
|
451 |
<!-- Cook the raptor analysis further to produce something in the right format for the BRAG system --> |
882
6ae47dc5d707
Make BRAG point to the results of UH parser instead of intermediate artifacts
Dario Sestito <darios@symbian.org>
parents:
881
diff
changeset
|
452 |
<exec executable="perl" output="${build.log.dir}/summary/Uh_BRAG.xml" logError="yes"> |
6ae47dc5d707
Make BRAG point to the results of UH parser instead of intermediate artifacts
Dario Sestito <darios@symbian.org>
parents:
881
diff
changeset
|
453 |
<arg value="${sf.common.config.dir}/tools/brag/uh2brag.pl"/> |
6ae47dc5d707
Make BRAG point to the results of UH parser instead of intermediate artifacts
Dario Sestito <darios@symbian.org>
parents:
881
diff
changeset
|
454 |
<arg value="--index"/> |
6ae47dc5d707
Make BRAG point to the results of UH parser instead of intermediate artifacts
Dario Sestito <darios@symbian.org>
parents:
881
diff
changeset
|
455 |
<arg value="${build.log.dir}/html/index.html"/> |
547
19f9d5fc6406
Added really basic failure extraction and BRAG calculation to build.
Simon Howkins <simonh@symbian.org>
parents:
546
diff
changeset
|
456 |
</exec> |
19f9d5fc6406
Added really basic failure extraction and BRAG calculation to build.
Simon Howkins <simonh@symbian.org>
parents:
546
diff
changeset
|
457 |
<!-- And copy the XSL so the output can be transformed by a browser --> |
19f9d5fc6406
Added really basic failure extraction and BRAG calculation to build.
Simon Howkins <simonh@symbian.org>
parents:
546
diff
changeset
|
458 |
<copy file="${sf.common.config.dir}/tools/brag/brag.xsl" toDir="${build.log.dir}/summary/"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
459 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
460 |
|
649
4468add5d834
Added post-processing of YARP analysis to feed into BRAG status.
Simon Howkins <simonh@symbian.org>
parents:
640
diff
changeset
|
461 |
<target name="sf-run-analysis-yarp"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
462 |
<echo message="Running yarp over *_compile.log files"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
463 |
<for param="logfile"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
464 |
<path> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
465 |
<fileset dir="${build.log.dir}"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
466 |
<include name="*_compile.log"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
467 |
<exclude name="*build_check_compile.log"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
468 |
</fileset> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
469 |
</path> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
470 |
<sequential> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
471 |
<propertyregex override="yes" property="yarpfile" input="@{logfile}" regexp=".*[\\|\/](.*)_compile\.log" replace="\1_yarp.csv"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
472 |
<propertyregex override="yes" property="yarpfile_short" input="${yarpfile}" regexp="[^_]*_[^_]*_[^_]*_(.+)_[^_]*_yarp\.csv" replace="YARP_\1"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
473 |
<echo message="Yarping @{logfile}..."/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
474 |
<exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${yarpfile}.log" append="true"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
475 |
<arg value="${sf.common.config.dir}/tools/analysis/yarp.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
476 |
<arg value="@{logfile}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
477 |
<arg value="${build.log.dir}/analysis/${yarpfile}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
478 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
479 |
<exec executable="cmd" output="${build.drive}/output/logs/analysis/tmp_yarp_files.csv" append="true"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
480 |
<arg value="/c"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
481 |
<arg value="echo"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
482 |
<arg value="${yarpfile_short},${sf.spec.publish.networkdrive}\${sf.spec.job.name}\builds\${sf.spec.job.codeline}\${build.id}\logs\analysis\${yarpfile},${build.drive}\output\logs\analysis\${yarpfile}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
483 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
484 |
</sequential> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
485 |
</for> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
486 |
|
649
4468add5d834
Added post-processing of YARP analysis to feed into BRAG status.
Simon Howkins <simonh@symbian.org>
parents:
640
diff
changeset
|
487 |
<!-- Cook the yarp analysis further to produce something in the right format for the BRAG system --> |
4468add5d834
Added post-processing of YARP analysis to feed into BRAG status.
Simon Howkins <simonh@symbian.org>
parents:
640
diff
changeset
|
488 |
<mkdir dir="${build.log.dir}/summary/"/> |
881
82070405cb6e
Remove redundant computation of some BRAG intermediate xml files
Dario Sestito <darios@symbian.org>
parents:
871
diff
changeset
|
489 |
<!-- exec executable="perl" output="${build.log.dir}/summary/Yarp_BRAG.xml" logError="yes"> |
649
4468add5d834
Added post-processing of YARP analysis to feed into BRAG status.
Simon Howkins <simonh@symbian.org>
parents:
640
diff
changeset
|
490 |
<arg value="${sf.common.config.dir}/tools/brag/yarpToBRAG.pl"/> |
4468add5d834
Added post-processing of YARP analysis to feed into BRAG status.
Simon Howkins <simonh@symbian.org>
parents:
640
diff
changeset
|
491 |
<arg value="${build.log.dir}/analysis/*_yarp.csv"/> |
881
82070405cb6e
Remove redundant computation of some BRAG intermediate xml files
Dario Sestito <darios@symbian.org>
parents:
871
diff
changeset
|
492 |
</exec --> |
649
4468add5d834
Added post-processing of YARP analysis to feed into BRAG status.
Simon Howkins <simonh@symbian.org>
parents:
640
diff
changeset
|
493 |
|
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
494 |
<exec executable="perl" dir="${build.drive}" failonerror="false" outputproperty="sf.job.totalyarperrors"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
495 |
<arg value="${sf.common.config.dir}/tools/analysis/parse_yarp_files.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
496 |
<arg value="${build.drive}/output/logs/analysis/tmp_yarp_files.csv"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
497 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
498 |
<echo message="Total yarp errors: ${sf.job.totalyarperrors}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
499 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
500 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
501 |
<target name="sf-run-analysis-whatlog-summary" > |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
502 |
<sequential> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
503 |
<parallel> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
504 |
<runtarget target="sf-run-analysis-list"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
505 |
<runtarget target="sf-run-analysis-whatlog"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
506 |
</parallel> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
507 |
<runtarget target="sf-run-analysis-whatlog-merge" /> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
508 |
<parallel> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
509 |
<runtarget target="sf-run-analysis-whatlog-package"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
510 |
<runtarget target="sf-run-analysis-whatlog-collisons"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
511 |
</parallel> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
512 |
</sequential> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
513 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
514 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
515 |
<target name="sf-run-analysis-list"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
516 |
<echo message="Running list analysis"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
517 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_list_results.log"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
518 |
<arg value="${sf.common.config.dir}/tools/analysis/parselistdirs.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
519 |
<arg value="..\"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
520 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
521 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
522 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
523 |
<target name="sf-run-analysis-whatlog"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
524 |
<echo message="Running whatlog analysis"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
525 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_what_results.csv"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
526 |
<arg value="${sf.common.config.dir}/tools/analysis/parsewhatlog.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
527 |
<arg value="..\"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
528 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
529 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
530 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
531 |
<target name="sf-run-analysis-whatlog-merge" > |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
532 |
<echo message="Running summary analysis"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
533 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_summary.log"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
534 |
<arg value="${sf.common.config.dir}/tools/analysis/merge_csv.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
535 |
<arg value="${build.id}_what_results.csv"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
536 |
<arg value="${build.id}_list_results.log"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
537 |
<arg value="${build.drive}/output/zips/release/binaries_epoc_additional.zip"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
538 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
539 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
540 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
541 |
<target name="sf-run-analysis-whatlog-package" > |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
542 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_analysecomponents.log"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
543 |
<arg value="${sf.common.config.dir}/tools/analysis/analyse_components.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
544 |
<arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
545 |
<arg value="${build.id}_what_results.csv_results.csv"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
546 |
<arg value="${sf.project.location}/sysdefs/system_model_os.xml"/> |
474
6f15b0257b5c
Updated analyse_components.pl arguments to use system_model_s60.xml as well as a source of package/component names (required for split model)
ThomasE
parents:
470
diff
changeset
|
547 |
<arg value="${sf.project.location}/sysdefs/system_model_s60.xml"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
548 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
549 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
550 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
551 |
<target name="sf-run-analysis-whatlog-collisons" > |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
552 |
<echo message="Running collision analysis"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
553 |
<exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_collisions.log"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
554 |
<arg value="${sf.common.config.dir}/tools/analysis/find_collisions.pl"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
555 |
<arg value="${build.log.dir}/analysis/${build.id}_what_results.csv"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
556 |
</exec> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
557 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
558 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
559 |
<target name="sf-run-analysis-diamonds"> |
695
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
560 |
<fmpp sourceFile="${sf.common.config.dir}/diamonds/sf-run-analysis-diamonds.xml.ftl" outputFile="${build.drive}/output/logs/sf-run-analysis-diamonds.xml"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
561 |
<data expandProperties="yes"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
562 |
ant: antProperties() |
764
d00048f1b036
Improved Raptor parser, now "uh"
Dario Sestito <darios@symbian.org>
parents:
755
diff
changeset
|
563 |
raptor_summary: csv(${build.log.dir}/raptorbits/summary.csv,{separator:',',headers:[category,subcategory,severity,config,component,mmp,phase,recipe,file,line]}) |
695
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
564 |
</data> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
565 |
</fmpp> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
566 |
</target> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
567 |
|
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
568 |
<target name="sf-links-to-diamonds"> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
569 |
<fmpp sourceFile="${sf.common.config.dir}/diamonds/linksForDiamonds.xml.ftl" outputFile="${build.log.dir}/linksForDiamonds.xml"> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
570 |
<data expandProperties="yes"> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
571 |
ant: antProperties() |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
572 |
</data> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
573 |
</fmpp> |
600
01511de51fcd
Add link in Diamonds to read the BAG status from _brag.xml.
Arnaud Lenoir
parents:
599
diff
changeset
|
574 |
<!-- Send the data to the server --> |
01511de51fcd
Add link in Diamonds to read the BAG status from _brag.xml.
Arnaud Lenoir
parents:
599
diff
changeset
|
575 |
<exec executable="python"> |
01511de51fcd
Add link in Diamonds to read the BAG status from _brag.xml.
Arnaud Lenoir
parents:
599
diff
changeset
|
576 |
<arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/> |
784
9791b89d932a
Fix Diamonds links are no longer appearing
Dario Sestito <darios@symbian.org>
parents:
778
diff
changeset
|
577 |
<arg value="-u"/> |
9791b89d932a
Fix Diamonds links are no longer appearing
Dario Sestito <darios@symbian.org>
parents:
778
diff
changeset
|
578 |
<arg value="http://${diamonds.host}${diamonds.build.id}"/> |
9791b89d932a
Fix Diamonds links are no longer appearing
Dario Sestito <darios@symbian.org>
parents:
778
diff
changeset
|
579 |
<arg value="-f"/> |
9791b89d932a
Fix Diamonds links are no longer appearing
Dario Sestito <darios@symbian.org>
parents:
778
diff
changeset
|
580 |
<arg value="${build.log.dir}/linksForDiamonds.xml"/> |
600
01511de51fcd
Add link in Diamonds to read the BAG status from _brag.xml.
Arnaud Lenoir
parents:
599
diff
changeset
|
581 |
</exec> |
695
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
582 |
</target> |
959
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
583 |
|
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
584 |
<target name="sf-merge-brag"> |
592
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
585 |
<!-- Merge all our bits of XML together --> |
680
81550e87fc91
Moved the generation of the release metadata entry for the MD5 zip outside of
Simon Howkins <simonh@symbian.org>
parents:
678
diff
changeset
|
586 |
<exec executable="perl" output="${build.log.dir}/summary/_BRAG.xml" logError="true"> |
592
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
587 |
<arg value="${sf.common.config.dir}/tools/mergeXML.pl"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
588 |
<arg value="--xsl=brag.xsl"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
589 |
<arg value="--merge=buildStatus,phase(name),step(name),failures(level)"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
590 |
<arg value="${build.log.dir}/summary/*?_BRAG.xml"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
591 |
</exec> |
959
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
592 |
</target> |
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
593 |
|
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
594 |
<target name="sf-brag-to-diamonds"> |
592
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
595 |
<!-- Run XSL transform to create file to send to diamonds --> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
596 |
<java jar="${sf.common.config.dir}/sysdefdowngrade/xalan-j_2_7_1/xalan.jar" fork="true"> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
597 |
<arg value="-IN"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
598 |
<arg value="${build.log.dir}/summary/_BRAG.xml"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
599 |
<arg value="-XSL"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
600 |
<arg value="${sf.common.config.dir}/tools/brag/bragForDiamonds.xsl"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
601 |
<arg value="-OUT"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
602 |
<arg value="${temp.build.dir}/bragForDiamonds.xml"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
603 |
</java> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
604 |
<if> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
605 |
<istrue value="${sf.spec.publish.enable}"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
606 |
<then> |
640
5ad0657305e8
sf-brag-to-diamonds - Only copy over the Brag XML if '${sf.spec.publish.enable}' is true.
MattD <mattd@symbian.org>
parents:
638
diff
changeset
|
607 |
<!-- Make sure that the summary directory is available to display the BRAG link --> |
5ad0657305e8
sf-brag-to-diamonds - Only copy over the Brag XML if '${sf.spec.publish.enable}' is true.
MattD <mattd@symbian.org>
parents:
638
diff
changeset
|
608 |
<mkdir dir="${publish.dir}/summary/"/> |
5ad0657305e8
sf-brag-to-diamonds - Only copy over the Brag XML if '${sf.spec.publish.enable}' is true.
MattD <mattd@symbian.org>
parents:
638
diff
changeset
|
609 |
<copy todir="${publish.dir}/summary/" preservelastmodified="true" failonerror="false"> |
5ad0657305e8
sf-brag-to-diamonds - Only copy over the Brag XML if '${sf.spec.publish.enable}' is true.
MattD <mattd@symbian.org>
parents:
638
diff
changeset
|
610 |
<fileset dir="${build.log.dir}/summary/"><include name="*.*"/></fileset> |
5ad0657305e8
sf-brag-to-diamonds - Only copy over the Brag XML if '${sf.spec.publish.enable}' is true.
MattD <mattd@symbian.org>
parents:
638
diff
changeset
|
611 |
</copy> |
5ad0657305e8
sf-brag-to-diamonds - Only copy over the Brag XML if '${sf.spec.publish.enable}' is true.
MattD <mattd@symbian.org>
parents:
638
diff
changeset
|
612 |
|
592
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
613 |
<!-- Try to obtain the diamonds ID for this build --> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
614 |
<if> |
599
27e421bea313
Sorted out misalignment between capture of diamonds build id and its re-use.
Simon Howkins <simonh@symbian.org>
parents:
592
diff
changeset
|
615 |
<not><isset property="diamonds.build.id"/></not> |
27e421bea313
Sorted out misalignment between capture of diamonds build id and its re-use.
Simon Howkins <simonh@symbian.org>
parents:
592
diff
changeset
|
616 |
<then> |
27e421bea313
Sorted out misalignment between capture of diamonds build id and its re-use.
Simon Howkins <simonh@symbian.org>
parents:
592
diff
changeset
|
617 |
<property file="${build.log.dir}/diamonds_build_id.properties"/> <!-- This will fail silently --> |
27e421bea313
Sorted out misalignment between capture of diamonds build id and its re-use.
Simon Howkins <simonh@symbian.org>
parents:
592
diff
changeset
|
618 |
</then> |
592
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
619 |
</if> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
620 |
<if> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
621 |
<isset property="diamonds.build.id"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
622 |
<then> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
623 |
<!-- Send the data to the server --> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
624 |
<exec executable="python"> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
625 |
<arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/> |
784
9791b89d932a
Fix Diamonds links are no longer appearing
Dario Sestito <darios@symbian.org>
parents:
778
diff
changeset
|
626 |
<arg value="-u"/> |
9791b89d932a
Fix Diamonds links are no longer appearing
Dario Sestito <darios@symbian.org>
parents:
778
diff
changeset
|
627 |
<arg value="http://${diamonds.host}${diamonds.build.id}"/> |
9791b89d932a
Fix Diamonds links are no longer appearing
Dario Sestito <darios@symbian.org>
parents:
778
diff
changeset
|
628 |
<arg value="-f"/> |
9791b89d932a
Fix Diamonds links are no longer appearing
Dario Sestito <darios@symbian.org>
parents:
778
diff
changeset
|
629 |
<arg value="${temp.build.dir}/bragForDiamonds.xml"/> |
592
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
630 |
</exec> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
631 |
</then> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
632 |
<else> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
633 |
<echo message="diamonds.build.id is not known - unable to push any build specific information to diamonds server"/> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
634 |
</else> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
635 |
</if> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
636 |
</then> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
637 |
</if> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
638 |
</target> |
85da6704f82d
Added target to push a collated and calculated BRAG status to diamonds.
Simon Howkins <simonh@symbian.org>
parents:
589
diff
changeset
|
639 |
|
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
640 |
<target name="sf-check-utilities-dir"> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
641 |
<available property="sf-utilities-available" file="${build.drive}/utilities" type="dir"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
642 |
</target> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
643 |
|
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
644 |
<target name="sf-compare-to-baseline" depends="sf-diamondize-bom,sf-check-utilities-dir" if="sf-utilities-available"> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
645 |
<property name="sf.releasenotes.wiki.txt" value="${build.log.dir}/releaseNotes.wiki.txt"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
646 |
<delete file="${sf.releasenotes.wiki.txt}"/> |
743
19d0e93b3fe4
Switched to using revised Package/FCL analysis script.
Simon Howkins <simonh@symbian.org>
parents:
716
diff
changeset
|
647 |
<!-- Package Comparison and FCL Usage --> |
19d0e93b3fe4
Switched to using revised Package/FCL analysis script.
Simon Howkins <simonh@symbian.org>
parents:
716
diff
changeset
|
648 |
<exec executable="perl" dir="${sf.spec.sourcesync.sourcespecdir}" output="${sf.releasenotes.wiki.txt}"> |
19d0e93b3fe4
Switched to using revised Package/FCL analysis script.
Simon Howkins <simonh@symbian.org>
parents:
716
diff
changeset
|
649 |
<arg value="${build.drive}/utilities/releaseAutomation/packageComparison.pl"/> |
19d0e93b3fe4
Switched to using revised Package/FCL analysis script.
Simon Howkins <simonh@symbian.org>
parents:
716
diff
changeset
|
650 |
<arg value="--sources=${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
19d0e93b3fe4
Switched to using revised Package/FCL analysis script.
Simon Howkins <simonh@symbian.org>
parents:
716
diff
changeset
|
651 |
<arg value="--sysdef=${sf.spec.sourcesync.sourcespecdir}/sysdefs/system_model.xml"/> |
747
76f9aaeefbab
Bug 881: Now also provides the locations of the two split-build system definitions to the release note generator, so it will work with both single and split builds.
Simon Howkins <simonh@symbian.org>
parents:
744
diff
changeset
|
652 |
<arg value="--sysdef=${sf.spec.sourcesync.sourcespecdir}/sysdefs/system_model_os.xml"/> |
76f9aaeefbab
Bug 881: Now also provides the locations of the two split-build system definitions to the release note generator, so it will work with both single and split builds.
Simon Howkins <simonh@symbian.org>
parents:
744
diff
changeset
|
653 |
<arg value="--sysdef=${sf.spec.sourcesync.sourcespecdir}/sysdefs/system_model_s60.xml"/> |
743
19d0e93b3fe4
Switched to using revised Package/FCL analysis script.
Simon Howkins <simonh@symbian.org>
parents:
716
diff
changeset
|
654 |
<arg value="--baseline=${sf.previous.pdk.tag}"/> |
501
e918b03176d3
Add execution of fcls4releasenotes.pl in build system.
Arnaud Lenoir
parents:
497
diff
changeset
|
655 |
</exec> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
656 |
<!-- Mercurial comparison --> |
503
a3b781744ed8
Used ${line.separator} to make (more) echo tasks more readable.
Simon Howkins <simonh@symbian.org>
parents:
502
diff
changeset
|
657 |
<echo file="${sf.releasenotes.wiki.txt}" append="true">== Mercurial Comparison ==${line.separator}${line.separator}</echo> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
658 |
<if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
659 |
<isset property="sf.previous.pdk.tag"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
660 |
<then> |
503
a3b781744ed8
Used ${line.separator} to make (more) echo tasks more readable.
Simon Howkins <simonh@symbian.org>
parents:
502
diff
changeset
|
661 |
<echo file="${sf.releasenotes.wiki.txt}" append="true">The Mercurial changes from Nokia were delivered as a bulk update based on '''XXXXXXXXXXXXXXXXXXXXXX'''.${line.separator}${line.separator}List of the Mercurial changes (files added/removed/modified) between ${sf.previous.pdk.tag} and PDK '''XXXXX''' - [[Media:XXXX.txt]].${line.separator}${line.separator}A short study of the results concentrating on the added and removed files has identified these significant package changes:${line.separator}${line.separator}</echo> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
662 |
<if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
663 |
<istrue value="${sf.spec.sourcesync.archive}"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
664 |
<then> |
502
8e7e1064493f
Used ${line.separator} to make echo tasks more readable.
Simon Howkins <simonh@symbian.org>
parents:
501
diff
changeset
|
665 |
<echo file="${sf.releasenotes.wiki.txt}" append="true">'''Information cannot be derived as source was synced with archive option'''"${line.separator}${line.separator}</echo> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
666 |
</then> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
667 |
<else> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
668 |
<exec executable="perl" dir="${build.drive}/" output="${sf.releasenotes.wiki.txt}" append="true"> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
669 |
<arg value="${build.drive}/utilities/releaseAutomation/mercurialComparison.pl"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
670 |
<arg value="${build.log.dir}/BOM/build-info.xml"/> |
501
e918b03176d3
Add execution of fcls4releasenotes.pl in build system.
Arnaud Lenoir
parents:
497
diff
changeset
|
671 |
<arg value="${sf.previous.pdk.tag}"/> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
672 |
<arg value="${build.log.dir}/mercurialComparison.tsv"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
673 |
</exec> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
674 |
</else> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
675 |
</if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
676 |
</then> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
677 |
<else> |
502
8e7e1064493f
Used ${line.separator} to make echo tasks more readable.
Simon Howkins <simonh@symbian.org>
parents:
501
diff
changeset
|
678 |
<echo file="${sf.releasenotes.wiki.txt}" append="true">'''Information cannot be provided as the tag for the previous PDK was not provided to the build'''"${line.separator}${line.separator}</echo> |
470
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
679 |
</else> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
680 |
</if> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
681 |
|
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
682 |
<!-- Code churn --> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
683 |
<!-- TODO? --> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
684 |
<fixcrlf file="${sf.releasenotes.wiki.txt}"/> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
685 |
</target> |
eadcd4405e6a
Added target to compare the build to the baseline. Initially populated with tasks to create part of the release notes.
Simon Howkins <simonh@symbian.org>
parents:
468
diff
changeset
|
686 |
|
491
e73243604097
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
474
diff
changeset
|
687 |
<!-- package all logs into zipfile for publishing --> |
677
dd6b7decdca2
Major packaging change to work around parallel calls - stopped zipping targets from having direct dependency on 'sf-preprocess-package-config', and instead have 'sf-zip-content' call 'sf-preprocess-package-config' if needed. Changed 'sf-prep' to call a target that wipes out the 'generated' directory. It's not perfect but it gets us going again.
MattD <mattd@symbian.org>
parents:
676
diff
changeset
|
688 |
<target name="sf-zip-logs" > |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
689 |
<if> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
690 |
<istrue value="${sf.spec.logs.zip.enable}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
691 |
<then> |
546
1c8d0b0d08dc
sf-zip-logs - Fixed zipping regression for running smoketest or BC test alone caused by changeset e73243604097 - 'Bug 384 Platform build should output all PDK releasables into one directory'
MattD <mattd@symbian.org>
parents:
537
diff
changeset
|
692 |
<mkdir dir="${build.output.dir}/zips/release"/> <!-- workaround for when there's no other releaseables, just the logs --> |
491
e73243604097
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
474
diff
changeset
|
693 |
<zip destfile="${build.output.dir}/zips/release/build_logs.zip" basedir="${build.drive}"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
694 |
<include name="output/logs/**"/> |
773
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
695 |
<exclude name="output/logs/BC/**"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
696 |
<exclude name="output/logs/BOM/**"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
697 |
<exclude name="output/logs/deliverables/**"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
698 |
<exclude name="output/logs/releaseables/**"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
699 |
</zip> |
468
eb9ba249e164
Added test targets 'sf-test-smoketest' and 'sf-test-bc-check' for the test team. They populate the drive, run the tests and zip the output. Minor fix was needed in the post build for zipping: '${build.drive}/output/logs/releaseables' must exist
MattD <mattd@symbian.org>
parents:
456
diff
changeset
|
700 |
<!-- workaround for the time when when 'sf-run-analysis-raptor' has not been run --> |
eb9ba249e164
Added test targets 'sf-test-smoketest' and 'sf-test-bc-check' for the test team. They populate the drive, run the tests and zip the output. Minor fix was needed in the post build for zipping: '${build.drive}/output/logs/releaseables' must exist
MattD <mattd@symbian.org>
parents:
456
diff
changeset
|
701 |
<mkdir dir="${build.drive}/output/logs/releaseables"/> |
491
e73243604097
Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents:
474
diff
changeset
|
702 |
<zip destfile="${build.output.dir}/zips/release/build_BOM.zip"> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
703 |
<zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
704 |
<zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
705 |
</zip> |
664
29955a149536
Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents:
649
diff
changeset
|
706 |
<antcall target="sf-zip-content"> |
681
eeab5a04dc46
Updated throughout to use the "temp_build_files" dir on the build drive rather than the "generated" directory in the fbf source tree.
Simon Howkins <simonh@symbian.org>
parents:
680
diff
changeset
|
707 |
<param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
664
29955a149536
Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents:
649
diff
changeset
|
708 |
<param name="zip.target.name" value="info-just-metadata" /> |
29955a149536
Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents:
649
diff
changeset
|
709 |
</antcall> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
710 |
</then> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
711 |
</if> |
625
4f9a01580199
Make sure the BRAG xml and xsl files are sent to bishare in an unzipped way to allow access from link in Diamonds.
Arnaud Lenoir
parents:
621
diff
changeset
|
712 |
</target> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
713 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
714 |
<target name="sf-publish" depends="prep-publish"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
715 |
<copy todir="${publish.dir}" preservelastmodified="true" failonerror="false"> |
537
aa5ddb1f5ba0
post-build target 'sf-publish' - Fixed publishing regression caused by changeset e73243604097 - 'Bug 384 Platform build should output all PDK releasables into one directory'
MattD <mattd@symbian.org>
parents:
505
diff
changeset
|
716 |
<fileset dir="${build.output.dir}/zips/release/"><include name="build_*.zip"/></fileset> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
717 |
</copy> |
768
edc6746cee45
Publish HTML files summary of Raptor build
Dario Sestito <darios@symbian.org>
parents:
764
diff
changeset
|
718 |
<mkdir dir="${publish.dir}/html"/> |
edc6746cee45
Publish HTML files summary of Raptor build
Dario Sestito <darios@symbian.org>
parents:
764
diff
changeset
|
719 |
<copy todir="${publish.dir}/html" preservelastmodified="true" failonerror="false"> |
edc6746cee45
Publish HTML files summary of Raptor build
Dario Sestito <darios@symbian.org>
parents:
764
diff
changeset
|
720 |
<fileset dir="${build.log.dir}/html"><include name="*.html"/></fileset> |
edc6746cee45
Publish HTML files summary of Raptor build
Dario Sestito <darios@symbian.org>
parents:
764
diff
changeset
|
721 |
</copy> |
773
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
722 |
<mkdir dir="${publish.dir}/BC"/> |
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
723 |
<copy todir="${publish.dir}/BC" preservelastmodified="true" failonerror="false"> |
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
724 |
<fileset dir="${build.log.dir}/BC/"> |
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
725 |
<include name="BBCResults.xsl"/> |
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
726 |
<include name="headers_report.xml"/> |
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
727 |
<include name="libraries_report.xml"/> |
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
728 |
</fileset> |
6a54b486a5b4
Added Static BC reports for Platform Builds
Maciej Seroka <maciejs@symbian.org>
parents:
768
diff
changeset
|
729 |
</copy> |
848
56d2bc67ec40
Fixed creation of the ats_reports folder
Maciej Seroka <maciejs@symbian.org>
parents:
847
diff
changeset
|
730 |
<mkdir dir="${publish.dir}/ats_reports"/> |
847
16e63d402b4d
Fixed copying temp index
Maciej Seroka <maciejs@symbian.org>
parents:
838
diff
changeset
|
731 |
<copy file="${sf.common.config.dir}/tools/ats/report_dummy.html" tofile="${publish.dir}/ats_reports/index.html" failonerror="false"/> |
361
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
732 |
</target> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
733 |
|
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
734 |
<!-- TODO: Make this work for package builds once we have sysmodel story worked out --> |
871
ef25bf39d67c
sf-run-analysis-missing-files - changed to depend on a new undefined parameter 'sf.spec.checkbuild' so that it can be turned on and off
MattD <mattd@symbian.org>
parents:
864
diff
changeset
|
735 |
<target name="sf-run-analysis-missing-files" if="sf.spec.checkbuild"> |
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
736 |
<!-- splitbuild is only set for Platform builds --> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
737 |
<if><istrue value="${sf.spec.splitbuild}"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
738 |
<then> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
739 |
<if><istrue value="${sf.spec.os.skipbuild}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
740 |
<then><echo message="Skipping OS file check"/></then> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
741 |
<else><runtarget target="sf-check-missing-os-files"/></else> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
742 |
</if> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
743 |
|
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
744 |
<if><istrue value="${sf.spec.s60.skipbuild}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
745 |
<then><echo message="Skipping S60 file check"/></then> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
746 |
<else><runtarget target="sf-check-missing-s60-files"/></else> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
747 |
</if> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
748 |
</then> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
749 |
<else> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
750 |
<runtarget target="sf-check-missing-os-files"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
751 |
</else> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
752 |
</if> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
753 |
</target> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
754 |
|
637
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
755 |
<target name="sf-check-missing-os-files" depends="sf-compile-options"> |
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
756 |
<hlm:argSet id="sbs.check.tools.var"> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
757 |
<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
758 |
<hlm:arg name="run-check" value="true" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
759 |
</hlm:argSet> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
760 |
|
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
761 |
<hlm:argSet id="sbs.check.main.var"> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
762 |
<hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
763 |
<hlm:arg name="run-check" value="true" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
764 |
</hlm:argSet> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
765 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
766 |
<param name="build.system" value="${sf.spec.build.system}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
767 |
<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
768 |
<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
769 |
<param name="build.id" value ="sbs_check"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
770 |
<reference refid="sbs.check.tools.var" torefid="sbs.var" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
771 |
<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
772 |
<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
773 |
</antcall> |
637
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
774 |
<if><istrue value="${sf.os.compile.iterate}"/> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
775 |
<then> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
776 |
<for list="${sf.spec.sbs.config}" delimiter="," param="sf.spec.check.splitconfig"> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
777 |
<sequential> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
778 |
<echo message="INFO [Iterative check] @{sf.spec.check.splitconfig}"/> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
779 |
<hlm:argSet id="sbs.check.iterate.main.var"> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
780 |
<hlm:arg name="config" value="@{sf.spec.check.splitconfig}" /> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
781 |
<hlm:arg name="run-check" value="true" /> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
782 |
</hlm:argSet> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
783 |
|
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
784 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
785 |
<param name="build.system" value="${sf.spec.build.system}" /> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
786 |
<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
787 |
<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
788 |
<param name="build.id" value ="sbs_check"/> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
789 |
<reference refid="sbs.check.iterate.main.var" torefid="sbs.var" /> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
790 |
<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
791 |
<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
792 |
</antcall> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
793 |
</sequential> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
794 |
</for> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
795 |
</then> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
796 |
<else> |
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
797 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
798 |
<param name="build.system" value="${sf.spec.build.system}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
799 |
<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
800 |
<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
801 |
<param name="build.id" value ="sbs_check"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
802 |
<reference refid="sbs.check.main.var" torefid="sbs.var" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
803 |
<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
804 |
<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
637
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
805 |
</antcall> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
806 |
</else> |
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
807 |
</if> |
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
808 |
</target> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
809 |
|
637
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
628
diff
changeset
|
810 |
<target name="sf-check-missing-s60-files" depends="sf-compile-options"> |
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
811 |
|
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
812 |
<hlm:argSet id="sbs.check.tools.var"> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
813 |
<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
814 |
<hlm:arg name="run-check" value="true" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
815 |
</hlm:argSet> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
816 |
|
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
817 |
<hlm:argSet id="sbs.check.main.var"> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
818 |
<hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
819 |
<hlm:arg name="run-check" value="true" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
820 |
</hlm:argSet> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
821 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
822 |
<param name="build.system" value="${sf.spec.build.system}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
823 |
<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
824 |
<param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
825 |
<param name="build.id" value ="sbs_check"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
826 |
<reference refid="sbs.check.tools.var" torefid="sbs.var" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
827 |
<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
828 |
<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
829 |
</antcall> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
830 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
831 |
<param name="build.system" value="${sf.spec.build.system}" /> |
505
590bb863f9b9
Use correct s60 config list for sbs check
Shabe Razvi <shaber@symbian.org>
parents:
504
diff
changeset
|
832 |
<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
833 |
<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
834 |
<param name="build.id" value ="sbs_check"/> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
835 |
<reference refid="sbs.check.main.var" torefid="sbs.var" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
836 |
<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
837 |
<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
838 |
</antcall> |
573
02a549e2960d
Added helium target sf-run-sfl-licence-munging for Public PDK creation.
chetank
parents:
547
diff
changeset
|
839 |
|
02a549e2960d
Added helium target sf-run-sfl-licence-munging for Public PDK creation.
chetank
parents:
547
diff
changeset
|
840 |
</target> |
02a549e2960d
Added helium target sf-run-sfl-licence-munging for Public PDK creation.
chetank
parents:
547
diff
changeset
|
841 |
|
589
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
842 |
<target name="sf-create-public-PDK" depends="sf-prebuild,sf-run-sfl-licence-munging" > |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
843 |
<if> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
844 |
<istrue value="${sf.spec.md5.enable}"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
845 |
<then> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
846 |
<echo message="INFO Creating MD5s"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
847 |
<runtarget target="sf-run-evalid"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
848 |
</then> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
849 |
</if> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
850 |
|
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
851 |
<!-- Package up the binaries we built --> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
852 |
<if> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
853 |
<istrue value="${sf.spec.package.bin.enable}"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
854 |
<then> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
855 |
<echo message="INFO Packaging Binaries"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
856 |
<runtarget target="sf-package-binary"/> |
920
3f238c627274
Packaging tools with the binaries.
MattD <mattd@symbian.org>
parents:
915
diff
changeset
|
857 |
<!-- <runtarget target="sf-package-tools"/> --> |
589
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
858 |
|
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
859 |
<echo message="INFO Validate Zip files"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
860 |
<runtarget target="sf-package-validate"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
861 |
</then> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
862 |
</if> |
959
8dfe67a9e2fe
Adding sf-merge-brag target
Chetan Kapoor <chetank@symbian.org>
parents:
942
diff
changeset
|
863 |
<runtarget target="sf-merge-brag"/> |
589
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
864 |
<runtarget target="sf-zip-logs"/> |
695
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
865 |
|
589
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
866 |
<if> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
867 |
<istrue value="${sf.spec.publish.enable}" /> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
868 |
<then> |
695
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
869 |
<echo message="Send links to Diamonds"/> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
870 |
<runtarget target="sf-links-to-diamonds"/> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
871 |
<echo message="Send BRAG status information to Diamonds"/> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
872 |
<runtarget target="sf-brag-to-diamonds"/> |
1eaeee12c3d1
Send to Diamonds only 3 links: brag, build bom, build logs
Dario Sestito <darios@symbian.org>
parents:
685
diff
changeset
|
873 |
|
589
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
874 |
<echo message="Publish log files and reports to ${sf.spec.publish.rootdir}"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
875 |
<runtarget target="sf-publish"/> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
876 |
</then> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
877 |
</if> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
878 |
</target> |
a18cdecf36b3
Creation of 'sf-create-public-PDK' for munging licences in text files. Not tested yet as I've got another build running on this machine, so submitting and kicking via Hudson.
MattD <mattd@symbian.org>
parents:
577
diff
changeset
|
879 |
|
573
02a549e2960d
Added helium target sf-run-sfl-licence-munging for Public PDK creation.
chetank
parents:
547
diff
changeset
|
880 |
<target name="sf-run-sfl-licence-munging" depends="sf-check-utilities-dir" if="sf-utilities-available"> |
02a549e2960d
Added helium target sf-run-sfl-licence-munging for Public PDK creation.
chetank
parents:
547
diff
changeset
|
881 |
<echo message="Running SFL Licence Munging writing log to ${build.log.dir}"/> |
744
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
882 |
<stopwatch name="munge" action="start"/> |
573
02a549e2960d
Added helium target sf-run-sfl-licence-munging for Public PDK creation.
chetank
parents:
547
diff
changeset
|
883 |
<exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/postbuild_sfl-licence_munging_results.log"> |
02a549e2960d
Added helium target sf-run-sfl-licence-munging for Public PDK creation.
chetank
parents:
547
diff
changeset
|
884 |
<arg value="${build.drive}/utilities/williamr/convert_to_eula.pl"/> |
02a549e2960d
Added helium target sf-run-sfl-licence-munging for Public PDK creation.
chetank
parents:
547
diff
changeset
|
885 |
</exec> |
744
22e6c7258a80
Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
Simon Howkins <simonh@symbian.org>
parents:
743
diff
changeset
|
886 |
<stopwatch name="munge" action="total"/> |
504
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
887 |
</target> |
4c61a133fe59
Add sbs --check to Platform build analysis.
Shabe Razvi <shaber@symbian.org>
parents:
503
diff
changeset
|
888 |
|
792
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
889 |
<target name="sf-copy-rom-logs"> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
890 |
<property name="sf.rombuild.dir" value="${build.drive}/epoc32/rom/"/> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
891 |
<!-- copy log files for each variant we have --> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
892 |
<echo message="build.log.dir= ${build.log.dir}"/> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
893 |
<echo message="sf.rombuild.dir= ${sf.rombuild.dir}"/> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
894 |
<echo message="sf.spec.referenceroms.variant= ${sf.spec.referenceroms.variant}"/> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
895 |
|
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
896 |
<copy todir="${build.log.dir}" preservelastmodified="true" failonerror="false"> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
897 |
<fileset dir="${sf.rombuild.dir}/${sf.spec.referenceroms.variant}/"><include name="*ROMBUILD.LOG"/></fileset> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
898 |
</copy> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
899 |
|
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
900 |
<copy todir="${build.log.dir}" preservelastmodified="true" failonerror="false"> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
901 |
<fileset dir="${sf.rombuild.dir}/${sf.spec.referenceroms.variant}/"><include name="*rom.oby"/></fileset> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
902 |
</copy> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
903 |
</target> |
893b85cda81b
Removed code for building ROMs (now done by Raptor) but added code for publishing ROM building logs.
Arnaud Lenoir <arnaudl@symbian.org>
parents:
791
diff
changeset
|
904 |
|
360
38e924ed959d
Created framework for separating postbuild related activities into a separate file.
Simon Howkins <simonh@symbian.org>
parents:
diff
changeset
|
905 |
</project> |