author | Simon Howkins <simonh@symbian.org> |
Fri, 04 Sep 2009 17:38:56 +0100 | |
changeset 395 | 1f4867b1e0c1 |
parent 386 | 62c9e8d019fc |
child 456 | 1ba3c86ebec0 |
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"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
4 |
<echo>[SF-POSTBUILD]</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
|
5 |
<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
|
6 |
<!-- TAG SOURCE 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
|
7 |
<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
|
8 |
<istrue value="${sf.spec.tagafterbuild.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
|
9 |
<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
|
10 |
<echo message="Apply tag to the source code used in this build"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
11 |
<runtarget target="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
|
12 |
</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
|
13 |
</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
|
14 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
15 |
<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
|
16 |
<istrue value="${sf.spec.md5.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
|
17 |
<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
|
18 |
<echo message="INFO Creating MD5s"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
19 |
<runtarget target="sf-run-evalid"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
20 |
</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
|
21 |
</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
|
22 |
<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
|
23 |
<istrue value="${sf.spec.package.bin.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
|
24 |
<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
|
25 |
<echo message="INFO Packaging 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
|
26 |
<runtarget target="sf-package-binary"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
27 |
<runtarget target="sf-package-tools"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
28 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
29 |
<echo message="INFO Validate Zip 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
|
30 |
<runtarget target="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
|
31 |
</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
|
32 |
</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
|
33 |
<!-- run build analysis tools --> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
34 |
<runtarget target="sf-run-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
|
35 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
36 |
</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
|
37 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
38 |
<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
|
39 |
<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
|
40 |
<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
|
41 |
<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
|
42 |
</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
|
43 |
</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
|
44 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
45 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
46 |
<runtarget target="sf-zip-logs"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
47 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
48 |
<!-- Do 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
|
49 |
<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
|
50 |
<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
|
51 |
<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
|
52 |
</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
|
53 |
</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
|
54 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
55 |
<!-- PUBLISH LOGS/REPORTS --> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
56 |
<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
|
57 |
<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
|
58 |
<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
|
59 |
<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
|
60 |
<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
|
61 |
</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
|
62 |
</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
|
63 |
</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
|
64 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
65 |
<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
|
66 |
<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
|
67 |
<fmpp sourceFile="${sf.common.config.dir}/templates/tag-hg-code.ant.xml.ftl" |
023e28d6bf31
Moved 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 |
outputFile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"> |
023e28d6bf31
Moved 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 |
<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
|
70 |
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
|
71 |
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
|
72 |
</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
|
73 |
</fmpp> |
023e28d6bf31
Moved 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 |
<ant antfile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"/> |
023e28d6bf31
Moved 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 |
</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
|
76 |
|
023e28d6bf31
Moved 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 |
<target name="sf-run-evalid"> |
023e28d6bf31
Moved 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 |
<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
|
79 |
<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
|
80 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
81 |
<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
|
82 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
83 |
<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
|
84 |
<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
|
85 |
</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
|
86 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
87 |
<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
|
88 |
<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
|
89 |
</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
|
90 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
91 |
<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
|
92 |
<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
|
93 |
</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
|
94 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
95 |
<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
|
96 |
<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
|
97 |
</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
|
98 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
100 |
<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
|
101 |
</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
|
102 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
104 |
<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
|
105 |
</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
|
106 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
108 |
<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
|
109 |
</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
|
110 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
112 |
<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
|
113 |
</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
|
114 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
115 |
<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
|
116 |
<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
|
117 |
</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
|
118 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
120 |
<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
|
121 |
</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
|
122 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
124 |
<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
|
125 |
</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
|
126 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
128 |
<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
|
129 |
</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
|
130 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
132 |
<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
|
133 |
</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
|
134 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
136 |
<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
|
137 |
</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
|
138 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
140 |
<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
|
141 |
</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
|
142 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
144 |
<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
|
145 |
</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
|
146 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
148 |
<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
|
149 |
</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
|
150 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
152 |
<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
|
153 |
</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
|
154 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
156 |
<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
|
157 |
</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
|
158 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
160 |
<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
|
161 |
</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
|
162 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
164 |
<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
|
165 |
</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
|
166 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
168 |
<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
|
169 |
</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
|
170 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
172 |
<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
|
173 |
</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
|
174 |
<exec executable="cmd" dir="${build.drive}"> |
023e28d6bf31
Moved 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 |
<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
|
176 |
<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
|
177 |
</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
|
178 |
</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
|
179 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
180 |
<!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box --> |
023e28d6bf31
Moved 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 |
<property name="temp.md5.zip" value="${env.TEMP}/MD5_${sf.spec.job.name}_${build.number}.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
|
182 |
<echo message="INFO Packaging MD5s"/> |
023e28d6bf31
Moved 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 |
<zip destfile="${temp.md5.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
|
184 |
<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
|
185 |
</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
|
186 |
<move file="${temp.md5.zip}" todir="${build.log.dir}" failonerror="false"/> |
023e28d6bf31
Moved 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 |
</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
|
188 |
|
023e28d6bf31
Moved 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 |
<target name="sf-package-binary" depends="sf-preprocess-package-config,sf-package-postbuild-rnd"> |
023e28d6bf31
Moved 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 |
<!-- 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
|
191 |
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
|
192 |
<!--antcall target="sf-zip-content"> |
023e28d6bf31
Moved 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 |
<param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
023e28d6bf31
Moved 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 |
<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
|
195 |
</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
|
196 |
<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
|
197 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_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
|
198 |
<arg value="a"/> |
023e28d6bf31
Moved 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 |
<arg value="-tzip"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
200 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
023e28d6bf31
Moved 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="-x!epoc32\tools"/> |
023e28d6bf31
Moved 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="-x!epoc32\build"/> |
023e28d6bf31
Moved 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 |
<arg value="-x!epoc32\release\armv5"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
204 |
<arg value="-x!epoc32\release\winscw"/> |
023e28d6bf31
Moved 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="-xr!*.sym"/> |
023e28d6bf31
Moved 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="${build.drive}/output/zips/release/binaries_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
|
207 |
<arg value="epoc32\"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
208 |
</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
|
209 |
|
023e28d6bf31
Moved 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 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw.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
|
211 |
<arg value="a"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
212 |
<arg value="-tzip"/> |
023e28d6bf31
Moved 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="-x@${build.log.dir}/rnd_excludefile.txt"/> |
023e28d6bf31
Moved 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="-xr!*.sym"/> |
023e28d6bf31
Moved 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 |
<arg value="${build.drive}/output/zips/release/binaries_winscw.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
|
216 |
<arg value="epoc32\release\winscw\"/> |
023e28d6bf31
Moved 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 |
</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
|
218 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
219 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5.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
|
220 |
<arg value="a"/> |
023e28d6bf31
Moved 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 |
<arg value="-tzip"/> |
023e28d6bf31
Moved 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 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
023e28d6bf31
Moved 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 |
<arg value="-xr!*.sym"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
224 |
<arg value="${build.drive}/output/zips/release/binaries_armv5.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
|
225 |
<arg value="epoc32\release\armv5\"/> |
023e28d6bf31
Moved 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 |
</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
|
227 |
</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
|
228 |
</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
|
229 |
|
023e28d6bf31
Moved 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 |
<target name="sf-package-postbuild-rnd" depends="sf-preprocess-package-config"> |
023e28d6bf31
Moved 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 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
232 |
<!-- zip any RnD _includefile.txt files generated during source packaging --> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
233 |
<exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zip_postbuild.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
|
234 |
<arg value="${sf.common.config.dir}/tools/zip_includefiles.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
|
235 |
</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
|
236 |
<!-- cleanup my moving includefiles to logs and zips to zips\release --> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
237 |
<move todir="${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
|
238 |
<fileset dir="${build.drive}"><include name="*_includefile.txt"/></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
|
239 |
</move> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
240 |
<move todir="${build.drive}/output/zips/release"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
241 |
<fileset dir="${build.drive}"><include name="bin*.zip"/></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
|
242 |
</move> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
243 |
<!-- TODO: merge with release_metadata.xml ? --> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
244 |
</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
|
245 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
246 |
<target name="sf-package-tools" depends="sf-preprocess-package-config"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
247 |
<echo message="Packaging epoc32 tools - Temporary method"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
248 |
<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
|
249 |
<arg value="a"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
250 |
<arg value="-tzip"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
251 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
252 |
<!-- <arg value="-x@${build.log.dir}/*_includefile.txt"/> --> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
253 |
<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
|
254 |
<arg value="epoc32/tools"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
255 |
</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
|
256 |
</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
|
257 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
258 |
<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
|
259 |
<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
|
260 |
<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
|
261 |
<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
|
262 |
</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
|
263 |
<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
|
264 |
<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
|
265 |
<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
|
266 |
</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
|
267 |
</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
|
268 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
269 |
<!-- 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
|
270 |
<target name="sf-run-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
|
271 |
<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
|
272 |
<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
|
273 |
<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
|
274 |
<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
|
275 |
<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
|
276 |
<runtarget target="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
|
277 |
</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
|
278 |
<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
|
279 |
<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
|
280 |
<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
|
281 |
<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
|
282 |
</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
|
283 |
</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
|
284 |
</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
|
285 |
|
023e28d6bf31
Moved 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 |
<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
|
287 |
<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
|
288 |
<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
|
289 |
<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
|
290 |
<arg value="*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
|
291 |
</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
|
292 |
</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
|
293 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
294 |
<target name="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
|
295 |
<echo message="Preprocessing *_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
|
296 |
<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
|
297 |
<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
|
298 |
<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
|
299 |
<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
|
300 |
<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
|
301 |
</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
|
302 |
</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
|
303 |
<sequential> |
383
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
304 |
<propertyregex override="yes" property="preprocessedlogfile" input="@{logfile}" regexp=".*[\\/](.*)_compile\.log" replace="\1_compile_preprocessed.log"/> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
305 |
<echo message="Preprocessing @{logfile}..."/> |
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
|
306 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" input="@{logfile}" output="${build.log.dir}/analysis/${preprocessedlogfile}" error="${build.log.dir}/analysis/${build.id}_preprocess.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
|
307 |
<arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.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
|
308 |
</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
|
309 |
</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
|
310 |
</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
|
311 |
|
023e28d6bf31
Moved 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 |
<echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.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
|
313 |
<for param="whatlogfile"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
314 |
<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
|
315 |
<fileset 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
|
316 |
<include name="*whatlog*_compile_preprocessed.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
|
317 |
</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
|
318 |
</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
|
319 |
<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
|
320 |
<echo message="Extracting whatlog info from @{whatlogfile}..."/> |
383
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
321 |
<echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/parse.pl --releaseable --log=@{whatlogfile} --basedir=${build.log.dir} --append"/> |
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
|
322 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_whatlog.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
|
323 |
<arg value="${sf.common.config.dir}/tools/raptor/parse.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
|
324 |
<arg value="--releaseable"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
325 |
<arg value="--log=@{whatlogfile}"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
326 |
<arg value="--basedir=${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
|
327 |
<arg value="--append"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
328 |
</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
|
329 |
</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
|
330 |
</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
|
331 |
|
023e28d6bf31
Moved 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 |
<echo message="Extracting error information from *_compile_preprocessed.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
|
333 |
<for param="raptorlogfile"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
334 |
<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
|
335 |
<fileset 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
|
336 |
<include name="*_compile_preprocessed.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
|
337 |
</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
|
338 |
</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
|
339 |
<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
|
340 |
<echo message="Extracting error info from @{raptorlogfile}..."/> |
383
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
341 |
<propertyregex override="yes" property="raptorconfig" input="@{raptorlogfile}" regexp=".*[\\/].*__(.*)\.whatlog_(single|multiple)_thread.*" replace="\1" casesensitive="false" defaultValue="noconfig"/> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
342 |
<echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/parse.pl --error --warning --unreciped --recipe --config=${raptorconfig} --log=@{raptorlogfile} --basedir=${build.log.dir}/raptorbits --append"/> |
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
|
343 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_raptorparse.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
|
344 |
<arg value="${sf.common.config.dir}/tools/raptor/parse.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
|
345 |
<arg value="--error"/> |
365 | 346 |
<arg value="--warning"/> |
383
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
347 |
<arg value="--unreciped"/> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
348 |
<arg value="--recipe"/> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
349 |
<arg value="--config=${raptorconfig}"/> |
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
|
350 |
<arg value="--log=@{raptorlogfile}"/> |
023e28d6bf31
Moved 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 |
<arg value="--basedir=${build.log.dir}/raptorbits"/> |
023e28d6bf31
Moved 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 |
<arg value="--append"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
353 |
</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
|
354 |
</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
|
355 |
</for> |
383
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
356 |
|
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
357 |
<echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/summarize.pl --raptorbitsdir=${build.log.dir}/raptorbits --outputdir=${build.log.dir}"/> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
358 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_raptorparse.log" append="true"> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
359 |
<arg value="${sf.common.config.dir}/tools/raptor/summarize.pl"/> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
360 |
<arg value="--raptorbitsdir=${build.log.dir}/raptorbits"/> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
361 |
<arg value="--outputdir=${build.log.dir}"/> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
362 |
</exec> |
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
363 |
|
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
364 |
<!-- 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
|
365 |
<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
|
366 |
<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
|
367 |
<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
|
368 |
<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
|
369 |
</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
|
370 |
</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
|
371 |
<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
|
372 |
<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
|
373 |
<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
|
374 |
</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
|
375 |
</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
|
376 |
</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
|
377 |
</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
|
378 |
|
023e28d6bf31
Moved 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 |
<target name="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
|
380 |
<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
|
381 |
<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
|
382 |
<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
|
383 |
<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
|
384 |
<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
|
385 |
<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
|
386 |
</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
|
387 |
</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
|
388 |
<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
|
389 |
<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
|
390 |
<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
|
391 |
<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
|
392 |
<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
|
393 |
<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
|
394 |
<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
|
395 |
<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
|
396 |
</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
|
397 |
<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
|
398 |
<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
|
399 |
<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
|
400 |
<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
|
401 |
</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
|
402 |
</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
|
403 |
</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
|
404 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
405 |
<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
|
406 |
<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
|
407 |
<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
|
408 |
</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
|
409 |
<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
|
410 |
</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
|
411 |
|
023e28d6bf31
Moved 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 |
<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
|
413 |
<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
|
414 |
<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
|
415 |
<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
|
416 |
<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
|
417 |
</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
|
418 |
<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
|
419 |
<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
|
420 |
<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
|
421 |
<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
|
422 |
</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
|
423 |
</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
|
424 |
</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
|
425 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
426 |
<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
|
427 |
<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
|
428 |
<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
|
429 |
<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
|
430 |
<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
|
431 |
</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
|
432 |
</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
|
433 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
434 |
<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
|
435 |
<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
|
436 |
<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
|
437 |
<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
|
438 |
<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
|
439 |
</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
|
440 |
</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
|
441 |
|
023e28d6bf31
Moved 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 |
<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
|
443 |
<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
|
444 |
<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
|
445 |
<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
|
446 |
<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
|
447 |
<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
|
448 |
<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
|
449 |
</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
|
450 |
</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
|
451 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
452 |
<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
|
453 |
<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
|
454 |
<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
|
455 |
<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
|
456 |
<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
|
457 |
<arg value="${sf.project.location}/sysdefs/system_model_os.xml"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
458 |
</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
|
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 |
|
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
461 |
<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
|
462 |
<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
|
463 |
<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
|
464 |
<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
|
465 |
<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
|
466 |
</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
|
467 |
</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
|
468 |
|
023e28d6bf31
Moved 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 |
<target name="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
|
470 |
<fmpp sourceFile="${sf.common.config.dir}/diamonds/sf-run-analysis.xml.ftl" outputFile="${build.drive}/output/logs/sf-run-analysis.xml"> |
023e28d6bf31
Moved 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 |
<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
|
472 |
ant: antProperties() |
383
52675b624b66
Add raptor build html summary computation
Dario Sestito <darios@symbian.org>
parents:
373
diff
changeset
|
473 |
raptor_summary: csv(${build.log.dir}/raptorbits/summary.csv,{separator:',',headers:[category,subcategory,severity,config,component,phase,recipe,file,line]}) |
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
|
474 |
files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]}) |
023e28d6bf31
Moved 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 |
</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
|
476 |
</fmpp> |
381
ad45f298ad85
Test targets seperated from "build.postbuild.xml" and put into "build.test.xml"
royt <tathagatar@symbian.org>
parents:
373
diff
changeset
|
477 |
</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
|
478 |
|
023e28d6bf31
Moved 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 |
<!-- package all logs into zipfile before 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
|
480 |
<target name="sf-zip-logs"> |
023e28d6bf31
Moved 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 |
<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
|
482 |
<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
|
483 |
<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
|
484 |
<property name="temp.log.dir" value="${env.TEMP}/${build.id}_output_logs"/> |
023e28d6bf31
Moved 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 |
<echo message="Zip log requested, zipping logs..."/> |
023e28d6bf31
Moved 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 |
<mkdir dir="${temp.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
|
487 |
<zip destfile="${temp.log.dir}/build_logs.zip" basedir="${build.drive}"> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
488 |
<include name="output/logs/**"/> |
023e28d6bf31
Moved all targets specific to the postbuild phase of the build into the postbuild ant file.
Simon Howkins <simonh@symbian.org>
parents:
360
diff
changeset
|
489 |
<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
|
490 |
<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
|
491 |
<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
|
492 |
</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
|
493 |
<zip destfile="${temp.log.dir}/build_BOM.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
|
494 |
<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
|
495 |
<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
|
496 |
</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
|
497 |
<move todir="${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
|
498 |
<fileset dir="${temp.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
|
499 |
</move> |
023e28d6bf31
Moved 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 |
</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
|
501 |
</if> |
381
ad45f298ad85
Test targets seperated from "build.postbuild.xml" and put into "build.test.xml"
royt <tathagatar@symbian.org>
parents:
373
diff
changeset
|
502 |
</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
|
503 |
|
023e28d6bf31
Moved 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 |
<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
|
505 |
<copy todir="${publish.dir}" preservelastmodified="true" failonerror="false"> |
023e28d6bf31
Moved 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 |
<fileset dir="${build.log.dir}"><include name="*.zip"/></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
|
507 |
</copy> |
023e28d6bf31
Moved 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 |
</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
|
509 |
|
360
38e924ed959d
Created framework for separating postbuild related activities into a separate file.
Simon Howkins <simonh@symbian.org>
parents:
diff
changeset
|
510 |
</project> |