author | Dario Sestito <darios@symbian.org> |
Wed, 15 Jul 2009 17:48:52 +0100 | |
changeset 253 | 02e483ad6786 |
parent 252 | f7fc039dd3a3 |
parent 250 | 61a7c7fafc30 |
child 254 | 5033df3f8834 |
permissions | -rw-r--r-- |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
73
b8d6af733d6d
Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
69
diff
changeset
|
2 |
<project name="SF-COMMON-CONFIG" xmlns:hlm="http://www.nokia.com/helium"> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
3 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
4 |
<property environment="env"/> <!-- make environment variables available via env --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
5 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
6 |
<dirname property="sf.common.config.dir" file="${ant.file.SF-COMMON-CONFIG}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
7 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
8 |
<!-- import common properties --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
9 |
<import file="${sf.common.config.dir}/common_props.ant.xml" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
10 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
11 |
<!-- setup Helium internal properties from their equivalent in the project spec --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
12 |
<property name="build.name" value="${sf.spec.job.name}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
13 |
<property name="core.build.version" value="${sf.spec.job.codeline}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
14 |
<property name="build.number" value="${sf.spec.job.number}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
15 |
<property name="build.drive" value="${sf.spec.job.drive}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
16 |
<property name="build.family" value="${sf.project.type}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
17 |
<property name="email.from" value="${sf.spec.email.from}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
18 |
<property name="local.free.space" value="${sf.spec.job.freespace}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
19 |
<property name="network.free.space" value="${sf.spec.publish.network.freespace}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
20 |
<property name="network.drive" value="${sf.spec.publish.networkdrive}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
21 |
<property name="prep.root.dir" value="${sf.spec.job.rootdir}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
22 |
<property name="publish" value="${sf.spec.publish.enable}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
23 |
<property name="publish.root.dir" value="${sf.spec.publish.rootdir}"/> |
197
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
24 |
<property name="diamonds.host" value="${sf.spec.publish.diamonds.server}"/> |
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
25 |
<property name="diamonds.port" value="${sf.spec.publish.diamonds.port}"/> |
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
26 |
<property name="diamonds.path" value="${sf.spec.publish.diamonds.path}"/> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
27 |
<property name="build.system" value="${sf.spec.build.system}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
28 |
<property name="base_release.path" value="${sf.spec.baseline.location}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
29 |
<property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/> |
166 | 30 |
|
198
4b1e939c052c
Added yarp to diamonds publishing
Dario Sestito <darios@symbian.org>
parents:
197
diff
changeset
|
31 |
<!-- SF-specific Helium properties not meant to be exposed in the project spec --> |
4b1e939c052c
Added yarp to diamonds publishing
Dario Sestito <darios@symbian.org>
parents:
197
diff
changeset
|
32 |
<property name="diamonds.listener.configuration.file" location="${sf.common.config.dir}/diamonds/config.xml.ftl"/> |
4b1e939c052c
Added yarp to diamonds publishing
Dario Sestito <darios@symbian.org>
parents:
197
diff
changeset
|
33 |
|
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
34 |
<!-- import all core HELIUM targets --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
35 |
<import file="${helium.dir}/helium.ant.xml" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
36 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
37 |
<!-- import common references --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
38 |
<import file="${sf.common.config.dir}/common_refs.ant.xml" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
39 |
|
166 | 40 |
<!-- setup conditional Helium internal properties --> |
41 |
<if><istrue value="${sf.spec.sourcesync.usecache}"/> |
|
42 |
<then> |
|
43 |
<property name="sf.spec.sourcesync.sourcespecdir" value="${sf.common.config.dir}/generated"/> |
|
44 |
</then> |
|
45 |
<else> |
|
46 |
<property name="sf.spec.sourcesync.sourcespecdir" value="${sf.project.location}"/> |
|
47 |
</else> |
|
48 |
</if> |
|
49 |
||
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
50 |
<!-- conditional import of generated source spec if available --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
51 |
<if><available file="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
52 |
<then> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
53 |
<echo message="Generated source spec found, importing..." /> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
54 |
<import file="${sf.common.config.dir}/generated/source-spec.ant.xml"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
55 |
</then> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
56 |
</if> |
69
c933fe776713
Fix generated sysdef filename and also remove erroneous comment
BuildAdmin@LON-ENGBUILD87
parents:
65
diff
changeset
|
57 |
|
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
58 |
|
166 | 59 |
<target name="sf-prep" depends="prep-drive,init-build-area,sf-generate-source-spec,check-tool-dependencies,create-bom,log-build-env"> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
60 |
<echo>[SF-PREP]</echo> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
61 |
<tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
62 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
63 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
64 |
<target name="sf-build-all" depends="sf-prebuild,sf-build-noprep,sf-postbuild"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
65 |
<echo>[SF-BUILD-ALL]</echo> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
66 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
67 |
|
159
cb50a5d37880
Added new helium target: 'sf-build-and-pack' for use if you need to babysit 'sf-prebuild'
MattD <mattd@symbian.org>
parents:
154
diff
changeset
|
68 |
<target name="sf-build-and-pack" depends="sf-build-noprep,sf-postbuild"> |
cb50a5d37880
Added new helium target: 'sf-build-and-pack' for use if you need to babysit 'sf-prebuild'
MattD <mattd@symbian.org>
parents:
154
diff
changeset
|
69 |
<echo>[SF-BUILD-AND-PACK]</echo> |
cb50a5d37880
Added new helium target: 'sf-build-and-pack' for use if you need to babysit 'sf-prebuild'
MattD <mattd@symbian.org>
parents:
154
diff
changeset
|
70 |
</target> |
cb50a5d37880
Added new helium target: 'sf-build-and-pack' for use if you need to babysit 'sf-prebuild'
MattD <mattd@symbian.org>
parents:
154
diff
changeset
|
71 |
|
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
72 |
<target name="sf-build" depends="sf-prep,sf-prebuild,sf-build-noprep,sf-postbuild"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
73 |
<echo>[SF-BUILD]</echo> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
74 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
75 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
76 |
<target name="sf-parse-project-config"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
77 |
<!-- TODO: Parse the project config and generate properties and csv file to be |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
78 |
used by the builds. --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
79 |
<echo message="Parse the project configuration" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
80 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
81 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
82 |
<target name="sf-generate-source-spec" depends="sf-parse-project-config"> |
166 | 83 |
|
84 |
<!-- Generate the sources.csv if hg cache is activated --> |
|
85 |
<if><istrue value="${sf.spec.sourcesync.usecache}"/> |
|
86 |
<then> |
|
87 |
<echo message="Generating Hg local cache..." /> |
|
88 |
<exec executable="perl" dir="${build.log.dir}" failonerror="true" output="${build.log.dir}/${build.id}_hgcache.log"> |
|
89 |
<arg value="${sf.common.config.dir}/tools/cachefiles.pl"/> |
|
90 |
<arg value="${sf.spec.job.rootdir}/hgcache"/> |
|
91 |
<arg value="${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}"/> |
|
92 |
<arg value="${sf.common.config.dir}/generated/${sf.spec.sourcesync.sourcespecfile}"/> |
|
93 |
</exec> |
|
94 |
</then> |
|
95 |
</if> |
|
96 |
||
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
97 |
<!-- TODO: 1. Same file name souce-spec.ant.xml is used for all packages |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
98 |
for multiple package builds, this needs to be linked with package name. --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
99 |
<!-- TODO: 2. Change fmpp data to be a full property rather than relative path --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
100 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
101 |
<fmpp sourceFile="${sf.common.config.dir}/templates/source-spec.ant.xml.ftl" |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
102 |
outputFile="${sf.common.config.dir}/generated/source-spec.ant.xml"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
103 |
<data expandProperties="yes"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
104 |
ant: antProperties() |
166 | 105 |
data: csv(${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
106 |
</data> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
107 |
</fmpp> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
108 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
109 |
|
123
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
110 |
<target name="sf-bc-check"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
111 |
<!-- create BC dir --> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
112 |
<mkdir dir="${build.log.dir}/BC"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
113 |
|
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
114 |
<delete file="${build.log.dir}/BC/bc.config" quiet="true"/> |
133
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
115 |
<delete file="${build.log.dir}/BC/BBCResults.xsl" quiet="true"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
116 |
<delete file="${build.log.dir}/BC/libraries.txt" quiet="true"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
117 |
<delete file="${build.log.dir}/BC/libraries_report.xml" quiet="true"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
118 |
<delete file="${build.log.dir}/BC/headers.txt" quiet="true"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
119 |
<delete file="${build.log.dir}/BC/headers_report.xml" quiet="true"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
120 |
|
123
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
121 |
<exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
122 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
123 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
124 |
<arg value="BASELINE_NAME=${sf.spec.bccheck.baseline.name}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
125 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
126 |
<exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
127 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
128 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
129 |
<arg value="BASELINE_SDK_DIR=${sf.spec.bccheck.baseline.skd.dir}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
130 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
131 |
<exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
132 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
133 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
134 |
<arg value="BASELINE_SDK_S60_VERSION=${sf.spec.bccheck.baseline.s60.version}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
135 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
136 |
<exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
137 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
138 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
139 |
<arg value="CURRENT_NAME=${build.id}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
140 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
141 |
<exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
142 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
143 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
144 |
<arg value="CURRENT_SDK_DIR=${build.drive}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
145 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
146 |
<exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
147 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
148 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
149 |
<arg value="CURRENT_SDK_S60_VERSION=${sf.spec.bccheck.current.s60.version}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
150 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
151 |
|
133
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
152 |
<copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/BBCResults.xsl" tofile="${build.log.dir}/BC/BBCResults.xsl" failonerror="true" verbose="true"/> |
123
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
153 |
|
133
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
154 |
<if><istrue value="${sf.spec.bccheck.enable.la}"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
155 |
<then> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
156 |
<exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/libraries.txt"> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
157 |
<arg value="CheckBC.py"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
158 |
<arg value="${build.log.dir}/BC/bc.config"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
159 |
<arg value="-la"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
160 |
<arg value="-f"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
161 |
<arg value="${sf.spec.bccheck.reportid}${sf.spec.job.number}"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
162 |
</exec> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
163 |
<copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Libraries_CompatibilityReport_${sf.spec.bccheck.reportid}${sf.spec.job.number}.xml" tofile="${build.log.dir}/BC/libraries_report.xml" failonerror="true" verbose="true"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
164 |
</then> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
165 |
</if> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
166 |
|
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
167 |
<if><istrue value="${sf.spec.bccheck.enable.ha}"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
168 |
<then> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
169 |
<exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/headers.txt"> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
170 |
<arg value="CheckBC.py"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
171 |
<arg value="${build.log.dir}/BC/bc.config"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
172 |
<arg value="-ha"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
173 |
<arg value="-f"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
174 |
<arg value="${sf.spec.bccheck.reportid}${sf.spec.job.number}"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
175 |
</exec> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
176 |
<copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Headers_CompatibilityReport_${sf.spec.bccheck.reportid}${sf.spec.job.number}.xml" tofile="${build.log.dir}/BC/headers_report.xml" failonerror="true" verbose="true"/> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
177 |
</then> |
6bf16e4e9cb7
.xml missing from file names
Louis Henry Nayegon <louisn@symbian.org>
parents:
131
diff
changeset
|
178 |
</if> |
213
6e86ffca2e31
Add option for dynamic bc testing
Louis Henry Nayegon <louisn@symbian.org>
parents:
207
diff
changeset
|
179 |
|
6e86ffca2e31
Add option for dynamic bc testing
Louis Henry Nayegon <louisn@symbian.org>
parents:
207
diff
changeset
|
180 |
<if><istrue value="${sf.spec.bccheck.enable.dynamic}"/> |
6e86ffca2e31
Add option for dynamic bc testing
Louis Henry Nayegon <louisn@symbian.org>
parents:
207
diff
changeset
|
181 |
<then> |
6e86ffca2e31
Add option for dynamic bc testing
Louis Henry Nayegon <louisn@symbian.org>
parents:
207
diff
changeset
|
182 |
</then> |
6e86ffca2e31
Add option for dynamic bc testing
Louis Henry Nayegon <louisn@symbian.org>
parents:
207
diff
changeset
|
183 |
</if> |
123
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
184 |
</target> |
241
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
185 |
|
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
186 |
<target name="generate-layers"> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
187 |
<echo message="canno-file:${canonical.sysdef.file}"/> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
188 |
<echo message="raptor-filters:raptor_${sysdef.configuration}"/> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
189 |
|
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
190 |
<!-- All we want is a sysdef with the config name appended, so just copy it --> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
191 |
<echo message="INFO: Skip GenXML and copy sysdef to sysdef+config name"/> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
192 |
<copy file="${canonical.sysdef.file}" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
193 |
|
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
194 |
<copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml"> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
195 |
<filterchain> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
196 |
<linecontainsregexp negate="true"> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
197 |
<regexp pattern="^\s*$"/> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
198 |
</linecontainsregexp> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
199 |
</filterchain> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
200 |
</copy> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
201 |
<copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml" todir="${build.log.dir}/BOM/"/> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
202 |
<delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/> |
c451bd0c0782
generate-layer overridden target from platform/build.xml to common/build.xml
Dario Sestito <darios@symbian.org>
parents:
240
diff
changeset
|
203 |
</target> |
123
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
204 |
|
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
205 |
<target name="sf-prebuild"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
206 |
<echo>[SF-PREBUILD]</echo> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
207 |
|
197
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
208 |
<if> |
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
209 |
<istrue value="${sf.spec.publish.enable}"/> |
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
210 |
<then> |
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
211 |
<runtarget target="diamonds"/> |
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
212 |
</then> |
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
213 |
</if> |
e7c76e615b76
Initial implementation of publishing to Diamonds
Dario Sestito <darios@symbian.org>
parents:
196
diff
changeset
|
214 |
|
47
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
41
diff
changeset
|
215 |
<!-- create BOM dir --> |
58
f5faa19dd3ed
Added the revision number, moved BOM folder under /logs/
DarioS@UK-DarioS.symbian.int
parents:
57
diff
changeset
|
216 |
<mkdir dir="${build.drive}/output/logs/BOM"/> |
47
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
41
diff
changeset
|
217 |
|
59
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
218 |
<!-- record project and config information in BOM files --> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
219 |
<delete file="${build.drive}/output/logs/BOM/config.csv" quiet="true"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
220 |
<exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.repo"> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
221 |
<arg value="showconfig"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
222 |
<arg value="paths.default"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
223 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
224 |
<exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.rev"> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
225 |
<arg value="identify"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
226 |
<arg value="-n"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
227 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
228 |
<exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.checksum"> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
229 |
<arg value="identify"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
230 |
<arg value="-i"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
231 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
232 |
<echo message="dir ${sf.config.dir} : revision ${sf.job.bom.config.rev}:${sf.job.bom.config.checksum}"/> |
60 | 233 |
<exec executable="cmd" output="${build.drive}/output/logs/BOM/config.csv" append="true"> |
59
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
234 |
<arg value="/c"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
235 |
<arg value="echo"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
236 |
<arg value="${sf.job.bom.config.repo},sf-config,${sf.job.bom.config.rev}:${sf.job.bom.config.checksum}"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
237 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
238 |
<delete file="${build.drive}/output/logs/BOM/project.csv" quiet="true"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
239 |
<exec executable="hg" dir="${sf.config.dir}/../build/config" outputproperty="sf.job.bom.project.repo"> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
240 |
<arg value="showconfig"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
241 |
<arg value="paths.default"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
242 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
243 |
<exec executable="hg" dir="${sf.config.dir}/../build/config" outputproperty="sf.job.bom.project.rev"> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
244 |
<arg value="identify"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
245 |
<arg value="-n"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
246 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
247 |
<exec executable="hg" dir="${sf.config.dir}/../build/config" outputproperty="sf.job.bom.project.checksum"> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
248 |
<arg value="identify"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
249 |
<arg value="-i"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
250 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
251 |
<echo message="dir ${sf.config.dir}/../build/config : revision ${sf.job.bom.project.rev}:${sf.job.bom.project.checksum}"/> |
60 | 252 |
<exec executable="cmd" output="${build.drive}/output/logs/BOM/project.csv" append="true"> |
59
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
253 |
<arg value="/c"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
254 |
<arg value="echo"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
255 |
<arg value="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.rev}:${sf.job.bom.project.checksum}"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
58
diff
changeset
|
256 |
</exec> |
142
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
257 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
258 |
<!-- tools baseline must come before epoc baseline to allow clean listing --> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
259 |
<if> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
260 |
<istrue value="${sf.spec.toolsbaseline.enable}" /> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
261 |
<then> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
262 |
<!-- wrapper around preparation-getenv but with diff params --> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
263 |
<runtarget target="sf-getenv-tools"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
264 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
265 |
<echo message="INFO Getting tools environment listing"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
266 |
<exec executable="perl" dir="${build.log.dir}/" failonerror="true" output="${build.log.dir}/listdir_${build.id}_toolsbaseline.log"> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
267 |
<arg value="${sf.common.config.dir}/tools/listdir.pl"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
268 |
<arg value="${build.drive}/epoc32"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
269 |
</exec> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
270 |
</then> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
271 |
</if> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
272 |
<if> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
273 |
<istrue value="${sf.spec.baseline.enable}" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
274 |
<then> |
56
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
275 |
|
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
276 |
<!-- record baseline information in BOM file --> |
58
f5faa19dd3ed
Added the revision number, moved BOM folder under /logs/
DarioS@UK-DarioS.symbian.int
parents:
57
diff
changeset
|
277 |
<delete file="${build.drive}/output/logs/BOM/baseline.txt" quiet="true"/> |
f5faa19dd3ed
Added the revision number, moved BOM folder under /logs/
DarioS@UK-DarioS.symbian.int
parents:
57
diff
changeset
|
278 |
<exec executable="cmd" output="${build.drive}/output/logs/BOM/baseline.txt"> |
56
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
279 |
<arg value="/c"/> |
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
280 |
<arg value="echo"/> |
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
281 |
<arg value="${sf.spec.baseline.location}"/> |
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
282 |
</exec> |
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
283 |
|
186 | 284 |
<!-- run internal target preparation-getenv --> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
285 |
<runtarget target="preparation-getenv"/> |
56
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
286 |
|
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
287 |
</then> |
85
834b82541047
Add merge of RnD binaries into epoc32 tree as HLM target. Also create empty sources.csv and baseline.txt files if source sync/get baseline is disabled.
Shabe Razvi <shaber@symbian.org>
parents:
84
diff
changeset
|
288 |
<else> |
834b82541047
Add merge of RnD binaries into epoc32 tree as HLM target. Also create empty sources.csv and baseline.txt files if source sync/get baseline is disabled.
Shabe Razvi <shaber@symbian.org>
parents:
84
diff
changeset
|
289 |
<!-- record fact that no baseline used. required by diamondize-bom --> |
834b82541047
Add merge of RnD binaries into epoc32 tree as HLM target. Also create empty sources.csv and baseline.txt files if source sync/get baseline is disabled.
Shabe Razvi <shaber@symbian.org>
parents:
84
diff
changeset
|
290 |
<touch file="${build.drive}/output/logs/BOM/baseline.txt"/> |
834b82541047
Add merge of RnD binaries into epoc32 tree as HLM target. Also create empty sources.csv and baseline.txt files if source sync/get baseline is disabled.
Shabe Razvi <shaber@symbian.org>
parents:
84
diff
changeset
|
291 |
</else> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
292 |
</if> |
142
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
293 |
|
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
294 |
<if> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
295 |
<istrue value="${sf.spec.sourcesync.enable}" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
296 |
<then> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
297 |
<runtarget target="sf-get-source"/> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
298 |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
299 |
<if><istrue value="${sf.spec.package.src.enable}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
300 |
<then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
301 |
<echo message="INFO Packaging Source"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
302 |
<runtarget target="sf-package-source"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
303 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
304 |
</if> |
111
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
305 |
|
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
306 |
<runtarget target="sf-unpack-rnd"/> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
307 |
</then> |
85
834b82541047
Add merge of RnD binaries into epoc32 tree as HLM target. Also create empty sources.csv and baseline.txt files if source sync/get baseline is disabled.
Shabe Razvi <shaber@symbian.org>
parents:
84
diff
changeset
|
308 |
<else> |
834b82541047
Add merge of RnD binaries into epoc32 tree as HLM target. Also create empty sources.csv and baseline.txt files if source sync/get baseline is disabled.
Shabe Razvi <shaber@symbian.org>
parents:
84
diff
changeset
|
309 |
<!-- record fact that no sources.csv used. required by diamondize-bom --> |
834b82541047
Add merge of RnD binaries into epoc32 tree as HLM target. Also create empty sources.csv and baseline.txt files if source sync/get baseline is disabled.
Shabe Razvi <shaber@symbian.org>
parents:
84
diff
changeset
|
310 |
<touch file="${build.log.dir}/BOM/sources.csv"/> |
834b82541047
Add merge of RnD binaries into epoc32 tree as HLM target. Also create empty sources.csv and baseline.txt files if source sync/get baseline is disabled.
Shabe Razvi <shaber@symbian.org>
parents:
84
diff
changeset
|
311 |
</else> |
74
d6aee860ab32
1. Run Packaging src at start and bin at end of build.
Shabe Razvi <shaber@symbian.org>
parents:
73
diff
changeset
|
312 |
</if> |
61 | 313 |
<if> |
314 |
<istrue value="${sf.spec.publish.enable}"/> |
|
315 |
<then> |
|
316 |
<runtarget target="sf-diamondize-bom"/> |
|
317 |
</then> |
|
318 |
</if> |
|
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
319 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
320 |
|
97
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
321 |
<target name="sf-postbuild"> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
322 |
<echo>[SF-POSTBUILD]</echo> |
141 | 323 |
<parallel> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
324 |
<!-- TAG SOURCE CODE --> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
325 |
<if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
326 |
<istrue value="${sf.spec.tagafterbuild.enable}" /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
327 |
<then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
328 |
<echo message="Apply tag to the source code used in this build"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
329 |
<runtarget target="sf-tag-hg-code"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
330 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
331 |
</if> |
141 | 332 |
|
333 |
<if> |
|
334 |
<istrue value="${sf.spec.md5.enable}"/> |
|
335 |
<then> |
|
336 |
<echo message="INFO Creating MD5s"/> |
|
337 |
<runtarget target="sf-run-evalid"/> |
|
338 |
</then> |
|
339 |
</if> |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
340 |
<if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
341 |
<istrue value="${sf.spec.package.bin.enable}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
342 |
<then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
343 |
<echo message="INFO Packaging Binaries"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
344 |
<runtarget target="sf-package-binary"/> |
167
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
345 |
<runtarget target="sf-package-tools"/> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
346 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
347 |
</if> |
141 | 348 |
</parallel> |
349 |
||
103 | 350 |
<if><istrue value="${sf.spec.test.sendpkg.enable}"/> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
351 |
<then> |
142
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
352 |
<runtarget target="sf-build-smoketestpkg"/> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
353 |
<runtarget target="sf-send-testpkg"/> |
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
354 |
</then> |
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
355 |
</if> |
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
356 |
|
114
585c31b1dac6
Move analysis after packaging
Shabe Razvi <shaber@symbian.org>
parents:
111
diff
changeset
|
357 |
<!-- run build analysis tools --> |
585c31b1dac6
Move analysis after packaging
Shabe Razvi <shaber@symbian.org>
parents:
111
diff
changeset
|
358 |
<runtarget target="sf-run-analysis"/> |
585c31b1dac6
Move analysis after packaging
Shabe Razvi <shaber@symbian.org>
parents:
111
diff
changeset
|
359 |
|
97
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
360 |
<runtarget target="sf-zip-logs"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
361 |
|
123
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
362 |
<!-- Do BC check --> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
363 |
<if><istrue value="${sf.spec.bccheck.enable}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
364 |
<then> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
365 |
<runtarget target="sf-bc-check"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
366 |
</then> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
367 |
</if> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
114
diff
changeset
|
368 |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
369 |
<!-- PUBLISH LOGS/REPORTS --> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
370 |
<if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
371 |
<istrue value="${sf.spec.publish.enable}" /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
372 |
<then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
373 |
<echo message="Publish log files and reports to ${sf.spec.publish.rootdir}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
374 |
<runtarget target="publish"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
375 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
376 |
</if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
377 |
</target> |
62 | 378 |
|
142
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
379 |
<target name="sf-getenv-tools"> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
380 |
<antcall target="preparation-getenv" inheritAll="false"> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
381 |
<param name="base_release.path" value="${sf.spec.toolsbaseline.location}"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
382 |
<param name="base_release.getenv_options" value="${sf.spec.toolsbaseline.getenv_options}"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
383 |
</antcall> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
384 |
</target> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
385 |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
386 |
<!-- package all logs into zipfile before publish --> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
387 |
<target name="sf-zip-logs"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
388 |
<if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
389 |
<istrue value="${sf.spec.logs.zip.enable}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
390 |
<then> |
250
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
391 |
<property name="temp.log.dir" value="${env.TEMP}/${build.id}_output_logs"/> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
392 |
<echo message="Zip log requested, zipping logs..."/> |
250
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
393 |
<mkdir dir="${temp.log.dir}"/> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
394 |
<zip destfile="${temp.log.dir}/${build.id}_build_logs.zip" basedir="${build.drive}" includes="output/logs/**"/> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
395 |
<zip destfile="${temp.log.dir}/${build.id}_BOM.zip" basedir="${build.drive}"> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
396 |
<include name="output/logs/BOM/**"/> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
397 |
<include name="output/logs/deliverables/**"/> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
398 |
<include name="output/logs/releaseables/**"/> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
399 |
</zip> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
400 |
<move todir="${build.log.dir}"> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
401 |
<fileset dir="${temp.log.dir}"/> |
61a7c7fafc30
BOM and TSVs now zipped up in an alternative zip file.
Simon Howkins <simonh@symbian.org>
parents:
249
diff
changeset
|
402 |
</move> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
403 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
404 |
</if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
405 |
</target> |
220
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
406 |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
407 |
<!-- generate dir list using passed location and name |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
408 |
if a baseline list is available then generate deltas too --> |
62 | 409 |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
410 |
<target name="sf-list-dir"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
411 |
<property name="sf.currentlist.name" value="${sf.list.name}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
412 |
<property name="sf.dir.location" value="${build.drive}/epoc32"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
413 |
|
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
414 |
<if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
415 |
<istrue value="${sf.spec.dirlist.enable}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
416 |
<then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
417 |
<echo message="Dirlist name: ${sf.currentlist.name} requested for ${sf.dir.location}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
418 |
<exec executable="perl" dir="${build.log.dir}/" failonerror="true" output="${build.log.dir}/listdir_${build.id}_${sf.currentlist.name}.log"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
419 |
<arg value="${sf.common.config.dir}/tools/listdir.pl"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
420 |
<arg value="${sf.dir.location}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
421 |
</exec> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
422 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
423 |
</if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
424 |
</target> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
425 |
|
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
426 |
<target name="sf-delta-dir"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
427 |
<property name="sf.currentlist_a.name" value="${sf.list_a.name}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
428 |
<property name="sf.currentlist_b.name" value="${sf.list_b.name}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
429 |
<property name="sf.dir.location" value="${build.drive}/epoc32"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
430 |
|
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
431 |
<if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
432 |
<istrue value="${sf.spec.dirdelta.enable}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
433 |
<then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
434 |
<echo message="Delta requested for ${sf.currentlist_a.name} vs ${sf.currentlist_b.name} "/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
435 |
<exec executable="perl" dir="${build.log.dir}/" failonerror="true" output="${build.log.dir}/listdir_${build.id}_${sf.currentlist_b.name}_delta.log"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
436 |
<arg value="${sf.common.config.dir}/tools/difflist.pl"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
437 |
<arg value="${build.log.dir}/listdir_${build.id}_${sf.currentlist_a.name}.log"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
438 |
<arg value="${build.log.dir}/listdir_${build.id}_${sf.currentlist_b.name}.log"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
439 |
</exec> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
440 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
441 |
</if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
442 |
</target> |
62 | 443 |
|
65 | 444 |
<target name="sf-intersect-dir"> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
445 |
<property name="sf.currentlist_a.name" value="${sf.list_a.name}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
446 |
<property name="sf.currentlist_b.name" value="${sf.list_b.name}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
447 |
<property name="sf.dir.location" value="${build.drive}/epoc32"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
448 |
|
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
449 |
<if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
450 |
<istrue value="${sf.spec.dirdelta.enable}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
451 |
<then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
452 |
<echo message="Inersection requested for ${sf.currentlist_a.name} vs ${sf.currentlist_b.name} "/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
453 |
<exec executable="perl" dir="${build.log.dir}/" failonerror="true" output="${build.log.dir}/listdir_${build.id}_${sf.currentlist_b.name}_intersect.log"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
454 |
<arg value="${sf.common.config.dir}/tools/difflist.pl"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
455 |
<arg value="${build.log.dir}/listdir_${build.id}_${sf.currentlist_a.name}.log"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
456 |
<arg value="${build.log.dir}/listdir_${build.id}_${sf.currentlist_b.name}.log"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
457 |
<arg value="-I"/> <!-- run difflist in intersect mode --> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
458 |
</exec> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
459 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
460 |
</if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
461 |
</target> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
462 |
|
240
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
463 |
<target name="sf-build-noprep" depends="sf-truclean,sf-compile,sf-postbuild"> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
464 |
<echo>[SF-BUILD-NOPREP]</echo> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
465 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
466 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
467 |
<target name="create-canonical-sysdef-file"> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
468 |
<if> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
469 |
<istrue value="${sf.spec.systemdefinition.assemble}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
470 |
<then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
471 |
<echo message="Calling Helium create-canonical-sysdef-file target to assemble sysdef fragments."/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
472 |
<runtarget target="compile.create-canonical-sysdef-file"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
473 |
</then> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
474 |
<else> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
475 |
<echo message="Will use ${build.drive}/${sf.spec.systemdefinition.location} as is as sysdef file"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
476 |
<copy file="${build.drive}/${sf.spec.systemdefinition.location}" tofile="${build.drive}/output/build/canonical_system_definition.xml" failonerror="true" verbose="true"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
477 |
</else> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
478 |
</if> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
479 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
480 |
|
240
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
481 |
<target name="sf-truclean"> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
482 |
<if> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
483 |
<istrue value="${sf.spec.build.clean.enable}"/> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
484 |
<then> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
485 |
<echo message="Executing truclean step."/> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
486 |
<fmpp sourceFile="${sf.common.config.dir}/templates/truclean.ant.xml.ftl" |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
487 |
outputFile="${sf.common.config.dir}/generated/truclean.ant.xml"> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
488 |
<data expandProperties="yes"> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
489 |
ant: antProperties() |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
490 |
data: csv(${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
491 |
</data> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
492 |
</fmpp> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
493 |
<ant antfile="${sf.common.config.dir}/generated/truclean.ant.xml"/> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
494 |
</then> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
495 |
<else> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
496 |
<echo message="Skipping truclean step."/> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
497 |
</else> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
498 |
</if> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
499 |
</target> |
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
500 |
|
5705f5c8f10d
Adding truclean step to the package build
Dario Sestito <darios@symbian.org>
parents:
224
diff
changeset
|
501 |
<target name="sf-compile"> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
502 |
<!-- TODO: add here assigments to raptor-related ant references --> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
503 |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
504 |
<!-- hlm:argSet id="sbs.tools.var"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
505 |
<hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
506 |
<hlm:arg name="singlejob" value="..." /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
507 |
<hlm:arg name="enable-filter" value="..." /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
508 |
</hlm:argSet --> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
509 |
|
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
510 |
<!-- target name="compile-main-prebuild" --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
511 |
<antcall target="compile-main" inheritAll="false"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
512 |
<param name="build.system" value="${sf.spec.build.system}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
513 |
<param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
514 |
<!--<reference refid="sf.system.definition.files" torefid="system.definition.files" />--> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
515 |
</antcall> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
516 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
517 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
518 |
<target name="sf-get-source" depends="sf-generate-source-spec"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
519 |
<ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
520 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
521 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
522 |
<target name="sf-tag-hg-code"> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
523 |
<property name="sf.tagafterbuild.tag" value="${sf.spec.job.name}_${sf.spec.job.codeline}.${sf.spec.job.number}"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
524 |
<fmpp sourceFile="${sf.common.config.dir}/templates/tag-hg-code.ant.xml.ftl" |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
525 |
outputFile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
526 |
<data expandProperties="yes"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
527 |
ant: antProperties() |
166 | 528 |
data: csv(${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
529 |
</data> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
530 |
</fmpp> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
531 |
<ant antfile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"/> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
532 |
</target> |
61 | 533 |
|
534 |
<target name="sf-diamondize-bom"> |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
535 |
<fmpp sourceFile="${sf.common.config.dir}/templates/build-info.xml.ftl" |
198
4b1e939c052c
Added yarp to diamonds publishing
Dario Sestito <darios@symbian.org>
parents:
197
diff
changeset
|
536 |
outputFile="${build.drive}/output/logs/sf-diamondize-bom.xml"> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
537 |
<data expandProperties="yes"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
538 |
ant: antProperties() |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
539 |
config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]}) |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
540 |
project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]}) |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
541 |
baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim}) |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
542 |
sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,rev]}) |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
543 |
</data> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
544 |
</fmpp> |
212
216378ca9c25
Export build-info.xml to BOM folder
Shabe Razvi <shaber@symbian.org>
parents:
207
diff
changeset
|
545 |
<!-- Make a copy in BOM dir --> |
216
36d82a2f1f92
Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents:
215
diff
changeset
|
546 |
<copy file="${build.drive}/output/logs/sf-diamondize-bom.xml" tofile="${build.log.dir}/BOM/build-info.xml"/> |
61 | 547 |
</target> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
548 |
|
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
549 |
<target name="sf-preprocess-package-config"> |
109
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
550 |
<mkdir dir="${sf.common.config.dir}/generated"/> |
76
a115d49b621f
Include epl/sfl category in zipfile name
Shabe Razvi <shaber@symbian.org>
parents:
75
diff
changeset
|
551 |
<exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log"> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
552 |
<arg value="${sf.common.config.dir}/tools/populateziptemplate.pl"/> |
166 | 553 |
<arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
554 |
<arg value="${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
555 |
<arg value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
247
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
556 |
<arg value="${build.log.dir}/rnd_excludefile.txt"/> |
73
b8d6af733d6d
Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
69
diff
changeset
|
557 |
</exec> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
558 |
</target> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
559 |
|
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
560 |
<target name="sf-zip-content" depends="preprocess-zip-config"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
561 |
<property name="zip.${zip.target.name}.log.file" location="${build.log.dir}/${build.id}_${zip.target.name}_zip.log" /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
562 |
<property name="zips.${zip.target.name}.spec.name" value="${zip.target.name}" /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
563 |
<hlm:zipContentMacro type="${zip.target.name}" file="${zip.config.file}" /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
564 |
</target> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
565 |
|
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
566 |
<target name="sf-package-source" depends="sf-preprocess-package-config"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
567 |
<antcall target="sf-zip-content"> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
568 |
<param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
569 |
<param name="zip.target.name" value="src" /> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
570 |
</antcall> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
571 |
</target> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
572 |
|
167
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
573 |
<target name="sf-package-tools" depends="sf-preprocess-package-config"> |
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
574 |
<echo message="Packaging epoc32 tools - Temporary method"/> |
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
575 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log"> |
247
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
576 |
<arg value="a"/> |
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
577 |
<arg value="-tzip"/> |
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
578 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
579 |
<!-- <arg value="-x@${build.log.dir}/*_includefile.txt"/> --> |
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
580 |
<arg value="tools_epoc.zip"/> |
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
581 |
<arg value="epoc32/tools"/> |
167
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
582 |
</exec> |
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
583 |
<if><available file="${build.drive}/tools_epoc.zip"/> |
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
584 |
<then><move file="${build.drive}/tools_epoc.zip" todir="${build.drive}/output/zips/"/></then> |
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
585 |
</if> |
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
586 |
</target> |
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
587 |
|
111
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
588 |
<target name="sf-package-binary" depends="sf-preprocess-package-config,sf-package-postbuild-rnd"> |
248
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
589 |
<!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries: |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
590 |
would need to update the template and possibly the script that populates it --> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
591 |
<!--antcall target="sf-zip-content"> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
592 |
<param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
593 |
<param name="zip.target.name" value="bin" /> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
594 |
</antcall--> |
247
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
595 |
|
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
596 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log"> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
597 |
<arg value="a"/> |
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
598 |
<arg value="-tzip"/> |
247
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
599 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
167
87306c6a6632
Packaging change - Tools now zipped into 'tools_epoc.zip', which isn't 'emu' but 'tools' for package and platform builds.
MattD <mattd@symbian.org>
parents:
161
diff
changeset
|
600 |
<arg value="-x!epoc32\tools"/> |
247
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
601 |
<arg value="-x!epoc32\build"/> |
248
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
602 |
<arg value="-x!epoc32\release\armv5"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
603 |
<arg value="-x!epoc32\release\winscw"/> |
247
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
604 |
<arg value="-xr!*.sym"/> |
cfde8b1784f7
Simplified the locations of some generated files, so they are created where they need to be rather than created on one place and moved to another.
Simon Howkins <simonh@symbian.org>
parents:
246
diff
changeset
|
605 |
<arg value="${build.drive}/output/zips/binaries_epoc.zip"/> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
606 |
<arg value="epoc32\"/> |
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
607 |
</exec> |
248
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
608 |
|
249
83515a735a11
Corrected filenames used for logging output of zip commands.
Simon Howkins <simonh@symbian.org>
parents:
248
diff
changeset
|
609 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw.log"> |
248
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
610 |
<arg value="a"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
611 |
<arg value="-tzip"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
612 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
613 |
<arg value="-xr!*.sym"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
614 |
<arg value="${build.drive}/output/zips/binaries_winscw.zip"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
615 |
<arg value="epoc32\release\winscw\"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
616 |
</exec> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
617 |
|
249
83515a735a11
Corrected filenames used for logging output of zip commands.
Simon Howkins <simonh@symbian.org>
parents:
248
diff
changeset
|
618 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5.log"> |
248
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
619 |
<arg value="a"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
620 |
<arg value="-tzip"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
621 |
<arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
622 |
<arg value="-xr!*.sym"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
623 |
<arg value="${build.drive}/output/zips/binaries_armv5.zip"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
624 |
<arg value="epoc32\release\armv5\"/> |
99d202b380d8
Zips binaries into three zips rather than one, to make them easier to download.
Simon Howkins <simonh@symbian.org>
parents:
247
diff
changeset
|
625 |
</exec> |
84
fcf94a72b33e
Improved zip template generation script, to take a third argument for the required location of the output file.
Simon Howkins <simonh@symbian.org>
parents:
81
diff
changeset
|
626 |
</target> |
111
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
627 |
|
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
628 |
<target name="sf-package-postbuild-rnd" depends="sf-preprocess-package-config"> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
629 |
|
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
630 |
<!-- zip any RnD _includefile.txt files generated during source packaging --> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
631 |
<exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zip_postbuild.log"> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
632 |
<arg value="${sf.common.config.dir}/tools/zip_includefiles.pl"/> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
633 |
</exec> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
634 |
<!-- cleanup my moving includefiles to logs and zips to zips\postbuild --> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
635 |
<move todir="${build.log.dir}"> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
636 |
<fileset dir="${build.drive}"><include name="*_includefile.txt"/></fileset> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
637 |
</move> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
638 |
<move todir="${build.drive}/output/zips/postbuild"> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
639 |
<fileset dir="${build.drive}"><include name="bin_rnd_*.zip"/></fileset> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
640 |
</move> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
641 |
<!-- TODO: merge with release_metadata.xml ? --> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
642 |
</target> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
643 |
|
109
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
644 |
<!-- unpack rnd zips if available --> |
111
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
109
diff
changeset
|
645 |
<target name="sf-unpack-rnd"> |
109
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
646 |
<echo message="Unpacking any available RnD binaries"/> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
647 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/unzip_${build.id}_binaries_rnd.log"> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
648 |
<arg value="x"/> |
154
10c7559f5d31
'sf-unpack-rnd' target: changed to overwrite mode, due to TEF being present earlier in build.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents:
150
diff
changeset
|
649 |
<arg value="-y"/> <!-- Need to unpack in overwrite mode, due to TEF --> |
125
a4079a41ca7f
Exclude list of things from RnD unpack that we know we can build
Shabe Razvi <shaber@symbian.org>
parents:
114
diff
changeset
|
650 |
<arg value="-x@${sf.common.config.dir}/tools/lists/rebuiltok.txt"/> |
109
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
651 |
<arg value="${build.drive}/output/zips/bin_rnd*.zip"/> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
652 |
</exec> |
99
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
653 |
</target> |
109
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
654 |
|
99
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
655 |
<target name ="sf-make-junction"> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
656 |
|
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
657 |
<mkdir dir="${sf.spec.test.epocroot}"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
658 |
|
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
659 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_make_junction.log"> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
660 |
<arg value="make_junction.pl"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
661 |
<arg value="--link=${sf.spec.test.epocroot}/epoc32"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
662 |
<arg value="--target=${build.drive}/epoc32"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
663 |
<arg value="--force"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
664 |
</exec> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
665 |
</target> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
666 |
|
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
667 |
<target name ="sf-delete-junction"> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
668 |
<exec executable="junction.exe" dir="${sf.spec.test.epocroot}" failonerror="false" output="${build.log.dir}/ATS_${build.id}_delete_junction.log"> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
669 |
<arg value="-d"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
670 |
<arg value="epoc32"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
671 |
</exec> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
672 |
</target> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
673 |
|
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
674 |
<target name="sf-send-testpkg" depends="sf-make-junction"> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
675 |
<mkdir dir="${sf.spec.test.package.droppath}"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
676 |
<echo message="Sending test package ${sf.spec.test.package.name} to ${sf.spec.test.host.name} path ${sf.spec.test.host.droppath}"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
677 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_testdrop.log"> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
678 |
<arg value="ats3_testdrop.pl"/> |
99
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
679 |
<arg value="--host=${sf.spec.test.host.name}"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
680 |
<arg value="--username=${sf.spec.test.host.username}"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
681 |
<arg value="--password=${sf.spec.test.host.password}"/> |
142
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
682 |
<arg value="--local-test-pkg=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/> |
99
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
683 |
<arg value="--local-drop-path=${sf.spec.test.package.droppath}"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
684 |
<arg value="--host-drop-path=${sf.spec.test.host.droppath}"/> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
685 |
</exec> |
99
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
686 |
</target> |
142
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
687 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
688 |
<target name="sf-build-smoketestpkg" depends="sf-getenv-tools"> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
689 |
<delete dir ="${build.drive}/smoketest"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
690 |
<delete file ="${build.log.dir}/ATS_${build.id}_smoketest.log"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
691 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
692 |
<echo message="INFO Copy smoketest source to EPOCROOT"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
693 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
694 |
<copy todir="${build.drive}/smoketest"> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
695 |
<fileset dir="${sf.common.config.dir}/tools/ats/smoketest"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
696 |
</copy> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
697 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
698 |
<echo message="INFO Building smoketest"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
699 |
<exec executable="cmd" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
700 |
<arg value="/c"/> |
161
9f98eafcf480
Build smoketest as udeb plus ensure that sf-postbuild is run for sf-build-noprep.
Shabe Razvi <shaber@symbian.org>
parents:
159
diff
changeset
|
701 |
<arg value="sbs -b bld.inf -c winscw_udeb.test"/> |
142
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
702 |
</exec> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
703 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
704 |
<echo message="INFO Creating smoketest testpackage"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
705 |
<exec executable="cmd" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
706 |
<arg value="/c"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
707 |
<arg value="smoketest.pl"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
708 |
</exec> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
709 |
<copy file="${build.drive}/smoketest/group/smoketest.zip" todir="${sf.spec.test.package.location}"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
710 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
711 |
<echo message="INFO Updating smoketest package with test info"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
712 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
713 |
<arg value="ats_specialise_test_drop.pl"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
714 |
<arg value="--test-drop-name=Smoketest-${build.id}"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
715 |
<arg value="--device-name=ATSINTERFACE EMULATOR on ${env.COMPUTERNAME}"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
716 |
<arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
717 |
<arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
718 |
|
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
719 |
</exec> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
720 |
<!-- Now ready to send to ATS3 --> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
721 |
</target> |
247e27021cd0
Add <sf-getenv-tools> target to unpack tools baseline and also <sf-build-smoketestpkg> to create smoketest package to be sent to ATS3 server
Shabe Razvi <shaber@symbian.org>
parents:
141
diff
changeset
|
722 |
|
99
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
723 |
<!-- runs analysis of missing bins and source --> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
724 |
<target name="sf-run-analysis"> |
97
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
725 |
<mkdir dir="${build.log.dir}/analysis"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
726 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
727 |
<echo message="Running source analysis of ANT output"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
728 |
<exec executable="perl" dir="${build.log.dir}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_scan_ant.log"> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
729 |
<arg value="${sf.common.config.dir}/tools/analysis/scan_antlogs.pl"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
730 |
<arg value="*ant*"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
731 |
</exec> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
732 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
733 |
<echo message="Running list analysis"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
734 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_list_results.log"> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
735 |
<arg value="${sf.common.config.dir}/tools/analysis/parselistdirs.pl"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
736 |
<arg value="..\"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
737 |
</exec> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
738 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
739 |
<echo message="Running whatlog analysis"/> |
109
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
740 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_what_results.csv"> |
97
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
741 |
<arg value="${sf.common.config.dir}/tools/analysis/parsewhatlog.pl"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
742 |
<arg value="..\"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
743 |
</exec> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
744 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
745 |
<echo message="Running summary analysis"/> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
746 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_summary.log"> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
747 |
<arg value="${sf.common.config.dir}/tools/analysis/merge_csv.pl"/> |
109
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
748 |
<arg value="${build.id}_what_results.csv"/> |
97
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
749 |
<arg value="${build.id}_list_results.log"/> |
141 | 750 |
<arg value="${build.drive}/output/zips/postbuild/bin_rnd_internal_initial.zip"/> |
131
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
126
diff
changeset
|
751 |
</exec> |
141 | 752 |
|
753 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_analysecomponents.log"> |
|
131
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
126
diff
changeset
|
754 |
<arg value="${sf.common.config.dir}/tools/analysis/analyse_components.pl"/> |
166 | 755 |
<arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
141 | 756 |
<arg value="${build.id}_what_results.csv_results.csv"/> |
131
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
126
diff
changeset
|
757 |
<arg value="${sf.project.location}/sysdefs/system_model_os_contributed.xml"/> |
141 | 758 |
<arg value="${sf.project.location}/sysdefs/system_model_s60_contributed.xml"/> |
109
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
759 |
</exec> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
760 |
|
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
761 |
<echo message="Running collision analysis"/> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
762 |
<exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_collisions.log"> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
763 |
<arg value="${sf.common.config.dir}/tools/analysis/find_collisions.pl"/> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
103
diff
changeset
|
764 |
<arg value="${build.log.dir}/analysis/${build.id}_what_results.csv"/> |
97
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
93
diff
changeset
|
765 |
</exec> |
140
5254e26c433d
Added yarp to the post-build analysis
Dario Sestito <darios@symbian.org>
parents:
133
diff
changeset
|
766 |
|
251
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
767 |
|
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
768 |
<echo message="Preprocessing *_compile.log files"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
769 |
<for param="logfile"> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
770 |
<path> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
771 |
<fileset dir="${build.log.dir}"> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
772 |
<include name="*_compile.log"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
773 |
<exclude name="*build_check_compile.log"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
774 |
</fileset> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
775 |
</path> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
776 |
<sequential> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
777 |
<propertyregex override="yes" property="preprocessedlogfile" input="@{logfile}" regexp=".*[\\|\/].*\.\d+_+(.*)_compile\.log" replace="\1_compile_preprocessed.log"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
778 |
<echo message="Preprocessing @{logfile}..."/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
779 |
<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"> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
780 |
<arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
781 |
</exec> |
252
f7fc039dd3a3
Raptor error analysis to be published to Diamonds
Dario Sestito <darios@symbian.org>
parents:
251
diff
changeset
|
782 |
</sequential> |
251
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
783 |
</for> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
784 |
|
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
785 |
<echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.log files"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
786 |
<for param="whatlogfile"> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
787 |
<path> |
252
f7fc039dd3a3
Raptor error analysis to be published to Diamonds
Dario Sestito <darios@symbian.org>
parents:
251
diff
changeset
|
788 |
<fileset dir="${build.log.dir}/analysis"> |
251
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
789 |
<include name="*whatlog*_compile_preprocessed.log"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
790 |
</fileset> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
791 |
</path> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
792 |
<sequential> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
793 |
<echo message="Extracting whatlog info from @{whatlogfile}..."/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
794 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_whatlog.log" append="true"> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
795 |
<arg value="${sf.common.config.dir}/tools/raptor/parse.pl"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
796 |
<arg value="--releaseable"/> |
252
f7fc039dd3a3
Raptor error analysis to be published to Diamonds
Dario Sestito <darios@symbian.org>
parents:
251
diff
changeset
|
797 |
<arg value="--log=@{whatlogfile}"/> |
251
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
798 |
<arg value="--basedir=${build.log.dir}"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
799 |
<arg value="--append"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
800 |
</exec> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
801 |
</sequential> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
802 |
</for> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
803 |
|
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
804 |
<echo message="Extracting error information from *_compile_preprocessed.log files"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
805 |
<for param="raptorlogfile"> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
806 |
<path> |
252
f7fc039dd3a3
Raptor error analysis to be published to Diamonds
Dario Sestito <darios@symbian.org>
parents:
251
diff
changeset
|
807 |
<fileset dir="${build.log.dir}/analysis"> |
251
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
808 |
<include name="*_compile_preprocessed.log"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
809 |
</fileset> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
810 |
</path> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
811 |
<sequential> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
812 |
<echo message="Extracting error info from @{raptorlogfile}..."/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
813 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_raptorparse.log" append="true"> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
814 |
<arg value="${sf.common.config.dir}/tools/raptor/parse.pl"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
815 |
<arg value="--error"/> |
252
f7fc039dd3a3
Raptor error analysis to be published to Diamonds
Dario Sestito <darios@symbian.org>
parents:
251
diff
changeset
|
816 |
<arg value="--log=@{raptorlogfile}"/> |
251
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
817 |
<arg value="--basedir=${build.log.dir}/raptorbits"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
818 |
<arg value="--append"/> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
819 |
</exec> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
820 |
</sequential> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
821 |
</for> |
f3105028766d
Added analysis of Raptor errors
Dario Sestito <darios@symbian.org>
parents:
243
diff
changeset
|
822 |
|
243
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
823 |
<echo message="Running yarp over *_compile.log files"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
824 |
<for param="logfile"> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
825 |
<path> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
826 |
<fileset dir="${build.log.dir}"> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
827 |
<include name="*_compile.log"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
828 |
<exclude name="*build_check_compile.log"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
829 |
</fileset> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
830 |
</path> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
831 |
<sequential> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
832 |
<propertyregex override="yes" property="yarpfile" input="@{logfile}" regexp=".*[\\|\/](.*)_compile\.log" replace="\1_yarp.csv"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
833 |
<propertyregex override="yes" property="yarpfile_short" input="${yarpfile}" regexp="[^_]*_[^_]*_[^_]*_(.+)_[^_]*_yarp\.csv" replace="YARP_\1"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
834 |
<echo message="Yarping @{logfile}..."/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
835 |
<exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_yarp.log" append="true"> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
836 |
<arg value="${sf.common.config.dir}/tools/analysis/yarp.pl"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
837 |
<arg value="@{logfile}"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
838 |
<arg value="${build.log.dir}/analysis/${yarpfile}"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
839 |
</exec> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
840 |
<exec executable="cmd" output="${build.drive}/output/logs/analysis/tmp_yarp_files.csv" append="true"> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
841 |
<arg value="/c"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
842 |
<arg value="echo"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
843 |
<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}"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
844 |
</exec> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
845 |
</sequential> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
846 |
</for> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
847 |
|
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
848 |
<exec executable="perl" dir="${build.drive}" failonerror="false" outputproperty="sf.job.totalyarperrors"> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
849 |
<arg value="${sf.common.config.dir}/tools/analysis/parse_yarp_files.pl"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
850 |
<arg value="${build.drive}/output/logs/analysis/tmp_yarp_files.csv"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
851 |
</exec> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
852 |
<echo message="Total yarp errors: ${sf.job.totalyarperrors}"/> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
853 |
|
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
854 |
<fmpp sourceFile="${sf.common.config.dir}/diamonds/sf-run-analysis.xml.ftl" outputFile="${build.drive}/output/logs/sf-run-analysis.xml"> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
855 |
<data expandProperties="yes"> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
856 |
ant: antProperties() |
252
f7fc039dd3a3
Raptor error analysis to be published to Diamonds
Dario Sestito <darios@symbian.org>
parents:
251
diff
changeset
|
857 |
raptor_summary: csv(${build.log.dir}/raptorbits/summary.csv,{separator:',',headers:[category,subcategory,severity,component,phase,recipe,file,line]}) |
243
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
858 |
files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]}) |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
859 |
</data> |
71d24b4fa162
Updated preprocess_log to deal with mal-formed <archive> tags - workaround for Bug 170.
Simon Howkins <simonh@symbian.org>
parents:
242
diff
changeset
|
860 |
</fmpp> |
140
5254e26c433d
Added yarp to the post-build analysis
Dario Sestito <darios@symbian.org>
parents:
133
diff
changeset
|
861 |
|
253 | 862 |
|
246
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
863 |
<!-- Now iterate through the generated TSVs to sort them and remove duplicates --> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
864 |
<for param="tsv"> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
865 |
<path> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
866 |
<fileset dir="${build.log.dir}/releaseables"> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
867 |
<include name="**/*.tsv"/> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
868 |
</fileset> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
869 |
</path> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
870 |
<sequential> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
871 |
<exec executable="perl" input="@{tsv}" output="@{tsv}"> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
872 |
<arg value="${sf.common.config.dir}/tools/sortUnique.pl"/> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
873 |
</exec> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
874 |
</sequential> |
4f2482f1dd48
Added sorting and removal of duplicates from TSV files.
Simon Howkins <simonh@symbian.org>
parents:
243
diff
changeset
|
875 |
</for> |
99
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
97
diff
changeset
|
876 |
</target> |
91
786a0a00701e
1) Update binary packaging solution to invoke 7za directly. 2) Add partially complete ATS sf-send-testpkg target and associated tools
Shabe Razvi <shaber@symbian.org>
parents:
87
diff
changeset
|
877 |
|
141 | 878 |
<target name="sf-run-evalid"> |
879 |
<delete dir="${build.drive}/output/md5"/> |
|
880 |
<mkdir dir="${build.drive}/output/md5"/> |
|
881 |
||
882 |
<parallel> |
|
883 |
<exec executable="cmd" dir="${build.drive}"> |
|
884 |
<arg value="/c"/> |
|
885 |
<arg value="evalid -g epoc32/include output/md5/epoc32_include.md5"/> |
|
886 |
</exec> |
|
887 |
<exec executable="cmd" dir="${build.drive}"> |
|
888 |
<arg value="/c"/> |
|
889 |
<arg value="evalid -g epoc32/s60 output/md5/epoc32_s60.md5"/> |
|
890 |
</exec> |
|
891 |
<exec executable="cmd" dir="${build.drive}"> |
|
892 |
<arg value="/c"/> |
|
893 |
<arg value="evalid -g epoc32/localisation output/md5/epoc32_localisation.md5"/> |
|
894 |
</exec> |
|
895 |
<exec executable="cmd" dir="${build.drive}"> |
|
896 |
<arg value="/c"/> |
|
897 |
<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"/> |
|
898 |
</exec> |
|
899 |
<exec executable="cmd" dir="${build.drive}"> |
|
900 |
<arg value="/c"/> |
|
901 |
<arg value="evalid -x \.sym$ -g epoc32/release/armv5/udeb output/md5/epoc32_release_armv5_udeb.md5"/> |
|
902 |
</exec> |
|
903 |
<exec executable="cmd" dir="${build.drive}"> |
|
904 |
<arg value="/c"/> |
|
905 |
<arg value="evalid -x \.sym$ -g epoc32/release/armv5/urel output/md5/epoc32_release_armv5_urel.md5"/> |
|
906 |
</exec> |
|
907 |
<exec executable="cmd" dir="${build.drive}"> |
|
908 |
<arg value="/c"/> |
|
220
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
909 |
<arg value="evalid -x \.sym$ -g epoc32/release/winscw/udeb output/md5/epoc32_release_winscw_udeb.md5"/> |
141 | 910 |
</exec> |
911 |
<exec executable="cmd" dir="${build.drive}"> |
|
912 |
<arg value="/c"/> |
|
220
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
913 |
<arg value="evalid -x \.sym$ -g epoc32/release/winscw/urel output/md5/epoc32_release_winscw_urel.md5"/> |
141 | 914 |
</exec> |
915 |
<exec executable="cmd" dir="${build.drive}"> |
|
916 |
<arg value="/c"/> |
|
917 |
<arg value="evalid -g epoc32/cshlpcmp_template output/md5/epoc32_cshlpcmp_template.md5"/> |
|
918 |
</exec> |
|
919 |
<exec executable="cmd" dir="${build.drive}"> |
|
920 |
<arg value="/c"/> |
|
921 |
<arg value="evalid -g epoc32/data output/md5/epoc32_data.md5"/> |
|
922 |
</exec> |
|
923 |
<exec executable="cmd" dir="${build.drive}"> |
|
924 |
<arg value="/c"/> |
|
925 |
<arg value="evalid -g epoc32/engdoc output/md5/epoc32_engdoc.md5"/> |
|
926 |
</exec> |
|
927 |
<exec executable="cmd" dir="${build.drive}"> |
|
928 |
<arg value="/c"/> |
|
929 |
<arg value="evalid -g epoc32/engineeringtools output/md5/epoc32_engineeringtools.md5"/> |
|
930 |
</exec> |
|
931 |
<exec executable="cmd" dir="${build.drive}"> |
|
932 |
<arg value="/c"/> |
|
933 |
<arg value="evalid -g epoc32/gcc output/md5/epoc32_gcc.md5"/> |
|
934 |
</exec> |
|
935 |
<exec executable="cmd" dir="${build.drive}"> |
|
936 |
<arg value="/c"/> |
|
937 |
<arg value="evalid -g epoc32/gcc_mingw output/md5/epoc32_gcc_mingw.md5"/> |
|
938 |
</exec> |
|
939 |
<exec executable="cmd" dir="${build.drive}"> |
|
940 |
<arg value="/c"/> |
|
941 |
<arg value="evalid -g epoc32/ksa output/md5/epoc32_ksa.md5"/> |
|
942 |
</exec> |
|
943 |
<exec executable="cmd" dir="${build.drive}"> |
|
944 |
<arg value="/c"/> |
|
945 |
<arg value="evalid -g epoc32/rom output/md5/epoc32_rom.md5"/> |
|
946 |
</exec> |
|
947 |
<exec executable="cmd" dir="${build.drive}"> |
|
948 |
<arg value="/c"/> |
|
949 |
<arg value="evalid -g epoc32/rombuild output/md5/epoc32_rombuild.md5"/> |
|
950 |
</exec> |
|
951 |
<exec executable="cmd" dir="${build.drive}"> |
|
952 |
<arg value="/c"/> |
|
953 |
<arg value="evalid -g epoc32/sbs_config output/md5/epoc32_sbs_config.md5"/> |
|
954 |
</exec> |
|
955 |
<exec executable="cmd" dir="${build.drive}"> |
|
956 |
<arg value="/c"/> |
|
957 |
<arg value="evalid -g epoc32/sdk_special output/md5/epoc32_sdk_special.md5"/> |
|
958 |
</exec> |
|
959 |
<exec executable="cmd" dir="${build.drive}"> |
|
960 |
<arg value="/c"/> |
|
961 |
<arg value="evalid -g epoc32/stdapis output/md5/epoc32_stdapis.md5"/> |
|
962 |
</exec> |
|
963 |
<exec executable="cmd" dir="${build.drive}"> |
|
964 |
<arg value="/c"/> |
|
965 |
<arg value="evalid -g epoc32/stubs output/md5/epoc32_stubs.md5"/> |
|
966 |
</exec> |
|
967 |
<exec executable="cmd" dir="${build.drive}"> |
|
968 |
<arg value="/c"/> |
|
969 |
<arg value="evalid -g epoc32/tools output/md5/epoc32_tools.md5"/> |
|
970 |
</exec> |
|
971 |
<exec executable="cmd" dir="${build.drive}"> |
|
972 |
<arg value="/c"/> |
|
973 |
<arg value="evalid -g epoc32/wins output/md5/epoc32_wins.md5"/> |
|
974 |
</exec> |
|
975 |
<exec executable="cmd" dir="${build.drive}"> |
|
976 |
<arg value="/c"/> |
|
977 |
<arg value="evalid -g epoc32/winscw output/md5/epoc32_winscw.md5"/> |
|
978 |
</exec> |
|
979 |
</parallel> |
|
220
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
980 |
|
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
981 |
<!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box --> |
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
982 |
<property name="temp.md5.zip" value="${env.TEMP}/MD5_${sf.spec.job.name}_${build.number}.zip"/> |
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
983 |
<echo message="INFO Packaging MD5s"/> |
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
984 |
<zip destfile="${temp.md5.zip}"> |
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
985 |
<zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/> |
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
986 |
</zip> |
8c24efb057be
Fix log zip structure, fix udeb/urel issue in MD5s and also package MD5s into zip in correct epoc32\relinfo layout
Shabe Razvi <shaber@symbian.org>
parents:
216
diff
changeset
|
987 |
<move file="${temp.md5.zip}" todir="${build.log.dir}" failonerror="false"/> |
141 | 988 |
</target> |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
989 |
</project> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
990 |