author | thomase |
Mon, 01 Jun 2009 17:19:32 +0100 | |
changeset 155 | 1f3285cd5668 |
parent 150 | d827d1eea85e |
child 157 | 6bf16e4e9cb7 |
permissions | -rw-r--r-- |
31
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"?> |
96
b8d6af733d6d
Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
92
diff
changeset
|
2 |
<project name="SF-COMMON-CONFIG" xmlns:hlm="http://www.nokia.com/helium"> |
31
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}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
24 |
<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
|
25 |
<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
|
26 |
<property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
27 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
28 |
<!-- 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
|
29 |
<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
|
30 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
31 |
<!-- import common references --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
32 |
<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
|
33 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
34 |
<!-- 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
|
35 |
<if><available file="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
107
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:
104
diff
changeset
|
36 |
<then> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
37 |
<echo message="Generated source spec found, importing..." /> |
107
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:
104
diff
changeset
|
38 |
<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:
104
diff
changeset
|
39 |
</then> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
40 |
</if> |
92
c933fe776713
Fix generated sysdef filename and also remove erroneous comment
BuildAdmin@LON-ENGBUILD87
parents:
88
diff
changeset
|
41 |
|
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
42 |
|
37
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
31
diff
changeset
|
43 |
<target name="sf-prep" depends="sf-generate-source-spec,prep-drive,init-build-area,check-tool-dependencies,create-bom,log-build-env"> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
44 |
<echo>[SF-PREP]</echo> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
45 |
<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
|
46 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
47 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
48 |
<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
|
49 |
<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
|
50 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
51 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
52 |
<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
|
53 |
<echo>[SF-BUILD]</echo> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
54 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
55 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
56 |
<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
|
57 |
<!-- 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
|
58 |
used by the builds. --> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
59 |
<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
|
60 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
61 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
62 |
<target name="sf-generate-source-spec" depends="sf-parse-project-config"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
63 |
<!-- 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
|
64 |
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
|
65 |
<!-- 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
|
66 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
67 |
<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
|
68 |
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
|
69 |
<data expandProperties="yes"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
70 |
ant: antProperties() |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
71 |
data: csv(${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
72 |
</data> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
73 |
</fmpp> |
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 |
|
147
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
76 |
<target name="sf-bc-check"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
77 |
<!-- create BC dir --> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
78 |
<mkdir dir="${build.log.dir}/BC"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
79 |
|
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
80 |
<delete file="${build.log.dir}/BC/bc.config" quiet="true"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
81 |
<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:
137
diff
changeset
|
82 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
83 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
84 |
<arg value="BASELINE_NAME=${sf.spec.bccheck.baseline.name}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
85 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
86 |
<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:
137
diff
changeset
|
87 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
88 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
89 |
<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:
137
diff
changeset
|
90 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
91 |
<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:
137
diff
changeset
|
92 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
93 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
94 |
<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:
137
diff
changeset
|
95 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
96 |
<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:
137
diff
changeset
|
97 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
98 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
99 |
<arg value="CURRENT_NAME=${build.id}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
100 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
101 |
<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:
137
diff
changeset
|
102 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
103 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
104 |
<arg value="CURRENT_SDK_DIR=${build.drive}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
105 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
106 |
<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:
137
diff
changeset
|
107 |
<arg value="/c"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
108 |
<arg value="echo"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
109 |
<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:
137
diff
changeset
|
110 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
111 |
|
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
112 |
<delete file="${build.log.dir}/BC/libraries.txt" quiet="true"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
113 |
<exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/libraries.txt"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
114 |
<arg value="CheckBC.py"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
115 |
<arg value="${build.log.dir}/BC/bc.config"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
116 |
<arg value="-la"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
117 |
<arg value="-f"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
118 |
<arg value="${sf.spec.bccheck.reportid}${sf.spec.job.number}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
119 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
120 |
<delete file="${build.log.dir}/BC/libraries_report.xml" quiet="true"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
121 |
<copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Libraries_CompatibilityReport_${sf.spec.bccheck.reportid}${sf.spec.job.number}" tofile="${build.log.dir}/BC/libraries_report.xml" failonerror="true" verbose="true"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
122 |
|
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
123 |
<delete file="${build.log.dir}/BC/headers.txt" quiet="true"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
124 |
<exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/headers.txt"> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
125 |
<arg value="CheckBC.py"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
126 |
<arg value="${build.log.dir}/BC/bc.config"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
127 |
<arg value="-ha"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
128 |
<arg value="-f"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
129 |
<arg value="${sf.spec.bccheck.reportid}${sf.spec.job.number}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
130 |
</exec> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
131 |
<delete file="${build.log.dir}/BC/headers_report.xml" quiet="true"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
132 |
<copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Headers_CompatibilityReport_${sf.spec.bccheck.reportid}${sf.spec.job.number}" tofile="${build.log.dir}/BC/headers_report.xml" failonerror="true" verbose="true"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
133 |
</target> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
134 |
|
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
135 |
<target name="sf-prebuild"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
136 |
<echo>[SF-PREBUILD]</echo> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
137 |
|
37
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
31
diff
changeset
|
138 |
<!-- create BOM dir --> |
48
f5faa19dd3ed
Added the revision number, moved BOM folder under /logs/
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
139 |
<mkdir dir="${build.drive}/output/logs/BOM"/> |
37
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
31
diff
changeset
|
140 |
|
49
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
141 |
<!-- record project and config information in BOM files --> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
142 |
<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:
48
diff
changeset
|
143 |
<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:
48
diff
changeset
|
144 |
<arg value="showconfig"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
145 |
<arg value="paths.default"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
146 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
147 |
<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:
48
diff
changeset
|
148 |
<arg value="identify"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
149 |
<arg value="-n"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
150 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
151 |
<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:
48
diff
changeset
|
152 |
<arg value="identify"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
153 |
<arg value="-i"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
154 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
155 |
<echo message="dir ${sf.config.dir} : revision ${sf.job.bom.config.rev}:${sf.job.bom.config.checksum}"/> |
50 | 156 |
<exec executable="cmd" output="${build.drive}/output/logs/BOM/config.csv" append="true"> |
49
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
157 |
<arg value="/c"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
158 |
<arg value="echo"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
159 |
<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:
48
diff
changeset
|
160 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
161 |
<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:
48
diff
changeset
|
162 |
<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:
48
diff
changeset
|
163 |
<arg value="showconfig"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
164 |
<arg value="paths.default"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
165 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
166 |
<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:
48
diff
changeset
|
167 |
<arg value="identify"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
168 |
<arg value="-n"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
169 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
170 |
<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:
48
diff
changeset
|
171 |
<arg value="identify"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
172 |
<arg value="-i"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
173 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
174 |
<echo message="dir ${sf.config.dir}/../build/config : revision ${sf.job.bom.project.rev}:${sf.job.bom.project.checksum}"/> |
50 | 175 |
<exec executable="cmd" output="${build.drive}/output/logs/BOM/project.csv" append="true"> |
49
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
176 |
<arg value="/c"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
177 |
<arg value="echo"/> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
178 |
<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:
48
diff
changeset
|
179 |
</exec> |
ea48c20dbc09
Added project and config info to BOM files
DarioS@UK-DarioS.symbian.int
parents:
48
diff
changeset
|
180 |
|
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
181 |
<if> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
182 |
<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
|
183 |
<then> |
46
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
184 |
|
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
185 |
<!-- record baseline information in BOM file --> |
48
f5faa19dd3ed
Added the revision number, moved BOM folder under /logs/
DarioS@UK-DarioS.symbian.int
parents:
47
diff
changeset
|
186 |
<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:
47
diff
changeset
|
187 |
<exec executable="cmd" output="${build.drive}/output/logs/BOM/baseline.txt"> |
46
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
188 |
<arg value="/c"/> |
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
189 |
<arg value="echo"/> |
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
190 |
<arg value="${sf.spec.baseline.location}"/> |
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
191 |
</exec> |
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
192 |
|
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
193 |
<!-- run interal target preparation-getenv --> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
194 |
<runtarget target="preparation-getenv"/> |
46
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
37
diff
changeset
|
195 |
|
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
196 |
</then> |
108
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:
107
diff
changeset
|
197 |
<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:
107
diff
changeset
|
198 |
<!-- 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:
107
diff
changeset
|
199 |
<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:
107
diff
changeset
|
200 |
</else> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
201 |
</if> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
202 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
203 |
<if> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
204 |
<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
|
205 |
<then> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
206 |
<runtarget target="sf-get-source"/> |
114
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:
110
diff
changeset
|
207 |
|
107
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:
104
diff
changeset
|
208 |
<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:
104
diff
changeset
|
209 |
<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:
104
diff
changeset
|
210 |
<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:
104
diff
changeset
|
211 |
<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:
104
diff
changeset
|
212 |
</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:
104
diff
changeset
|
213 |
</if> |
134
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
214 |
|
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
215 |
<runtarget target="sf-unpack-rnd"/> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
216 |
</then> |
108
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:
107
diff
changeset
|
217 |
<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:
107
diff
changeset
|
218 |
<!-- 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:
107
diff
changeset
|
219 |
<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:
107
diff
changeset
|
220 |
</else> |
97
d6aee860ab32
1. Run Packaging src at start and bin at end of build.
Shabe Razvi <shaber@symbian.org>
parents:
96
diff
changeset
|
221 |
</if> |
51 | 222 |
<if> |
223 |
<istrue value="${sf.spec.publish.enable}"/> |
|
224 |
<then> |
|
225 |
<runtarget target="sf-diamondize-bom"/> |
|
226 |
</then> |
|
227 |
</if> |
|
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
228 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
229 |
|
120
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
230 |
<target name="sf-postbuild"> |
107
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:
104
diff
changeset
|
231 |
<echo>[SF-POSTBUILD]</echo> |
137
585c31b1dac6
Move analysis after packaging
Shabe Razvi <shaber@symbian.org>
parents:
134
diff
changeset
|
232 |
|
107
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:
104
diff
changeset
|
233 |
<!-- 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:
104
diff
changeset
|
234 |
<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:
104
diff
changeset
|
235 |
<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:
104
diff
changeset
|
236 |
<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:
104
diff
changeset
|
237 |
<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:
104
diff
changeset
|
238 |
<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:
104
diff
changeset
|
239 |
</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:
104
diff
changeset
|
240 |
</if> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
241 |
|
107
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:
104
diff
changeset
|
242 |
<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:
104
diff
changeset
|
243 |
<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:
104
diff
changeset
|
244 |
<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:
104
diff
changeset
|
245 |
<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:
104
diff
changeset
|
246 |
<runtarget target="sf-package-binary"/> |
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:
104
diff
changeset
|
247 |
</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:
104
diff
changeset
|
248 |
</if> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
249 |
|
126 | 250 |
<if><istrue value="${sf.spec.test.sendpkg.enable}"/> |
114
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:
110
diff
changeset
|
251 |
<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:
110
diff
changeset
|
252 |
<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:
110
diff
changeset
|
253 |
</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:
110
diff
changeset
|
254 |
</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:
110
diff
changeset
|
255 |
|
137
585c31b1dac6
Move analysis after packaging
Shabe Razvi <shaber@symbian.org>
parents:
134
diff
changeset
|
256 |
<!-- run build analysis tools --> |
585c31b1dac6
Move analysis after packaging
Shabe Razvi <shaber@symbian.org>
parents:
134
diff
changeset
|
257 |
<runtarget target="sf-run-analysis"/> |
585c31b1dac6
Move analysis after packaging
Shabe Razvi <shaber@symbian.org>
parents:
134
diff
changeset
|
258 |
|
120
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
259 |
<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:
116
diff
changeset
|
260 |
|
147
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
261 |
<!-- Do BC check --> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
262 |
<if><istrue value="${sf.spec.bccheck.enable}"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
263 |
<then> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
264 |
<runtarget target="sf-bc-check"/> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
265 |
</then> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
266 |
</if> |
5b2818c52aae
Add optiona BC checking to build process
Louis Henry Nayegon <louisn@symbian.org>
parents:
137
diff
changeset
|
267 |
|
107
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:
104
diff
changeset
|
268 |
<!-- 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:
104
diff
changeset
|
269 |
<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:
104
diff
changeset
|
270 |
<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:
104
diff
changeset
|
271 |
<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:
104
diff
changeset
|
272 |
<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:
104
diff
changeset
|
273 |
<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:
104
diff
changeset
|
274 |
</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:
104
diff
changeset
|
275 |
</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:
104
diff
changeset
|
276 |
</target> |
62 | 277 |
|
107
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:
104
diff
changeset
|
278 |
<!-- 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:
104
diff
changeset
|
279 |
<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:
104
diff
changeset
|
280 |
<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:
104
diff
changeset
|
281 |
<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:
104
diff
changeset
|
282 |
<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:
104
diff
changeset
|
283 |
<property name="temp.log.zip" value="${env.TEMP}/build_logs_${sf.spec.job.name}_${build.number}.zip"/> |
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:
104
diff
changeset
|
284 |
<echo message="Zip log requested, zipping 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:
104
diff
changeset
|
285 |
<zip destfile="${temp.log.zip}" basedir="${build.log.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:
104
diff
changeset
|
286 |
<move file="${temp.log.zip}" todir="${build.log.dir}" failonerror="false"/> |
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:
104
diff
changeset
|
287 |
</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:
104
diff
changeset
|
288 |
</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:
104
diff
changeset
|
289 |
</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:
104
diff
changeset
|
290 |
|
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:
104
diff
changeset
|
291 |
<!-- 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:
104
diff
changeset
|
292 |
if a baseline list is available then generate deltas too --> |
62 | 293 |
|
107
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:
104
diff
changeset
|
294 |
<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:
104
diff
changeset
|
295 |
<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:
104
diff
changeset
|
296 |
<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:
104
diff
changeset
|
297 |
|
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:
104
diff
changeset
|
298 |
<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:
104
diff
changeset
|
299 |
<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:
104
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:
104
diff
changeset
|
301 |
<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:
104
diff
changeset
|
302 |
<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:
104
diff
changeset
|
303 |
<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:
104
diff
changeset
|
304 |
<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:
104
diff
changeset
|
305 |
</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:
104
diff
changeset
|
306 |
</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:
104
diff
changeset
|
307 |
</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:
104
diff
changeset
|
308 |
</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:
104
diff
changeset
|
309 |
|
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:
104
diff
changeset
|
310 |
<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:
104
diff
changeset
|
311 |
<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:
104
diff
changeset
|
312 |
<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:
104
diff
changeset
|
313 |
<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:
104
diff
changeset
|
314 |
|
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:
104
diff
changeset
|
315 |
<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:
104
diff
changeset
|
316 |
<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:
104
diff
changeset
|
317 |
<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:
104
diff
changeset
|
318 |
<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:
104
diff
changeset
|
319 |
<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:
104
diff
changeset
|
320 |
<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:
104
diff
changeset
|
321 |
<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:
104
diff
changeset
|
322 |
<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:
104
diff
changeset
|
323 |
</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:
104
diff
changeset
|
324 |
</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:
104
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:
104
diff
changeset
|
326 |
</target> |
62 | 327 |
|
88 | 328 |
<target name="sf-intersect-dir"> |
107
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:
104
diff
changeset
|
329 |
<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:
104
diff
changeset
|
330 |
<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:
104
diff
changeset
|
331 |
<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:
104
diff
changeset
|
332 |
|
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:
104
diff
changeset
|
333 |
<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:
104
diff
changeset
|
334 |
<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:
104
diff
changeset
|
335 |
<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:
104
diff
changeset
|
336 |
<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:
104
diff
changeset
|
337 |
<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:
104
diff
changeset
|
338 |
<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:
104
diff
changeset
|
339 |
<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:
104
diff
changeset
|
340 |
<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:
104
diff
changeset
|
341 |
<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:
104
diff
changeset
|
342 |
</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:
104
diff
changeset
|
343 |
</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:
104
diff
changeset
|
344 |
</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:
104
diff
changeset
|
345 |
</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:
104
diff
changeset
|
346 |
|
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
347 |
<target name="sf-build-noprep" depends="sf-compile"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
348 |
<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
|
349 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
350 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
351 |
<target name="create-canonical-sysdef-file"> |
107
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:
104
diff
changeset
|
352 |
<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:
104
diff
changeset
|
353 |
<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:
104
diff
changeset
|
354 |
<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:
104
diff
changeset
|
355 |
<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:
104
diff
changeset
|
356 |
<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:
104
diff
changeset
|
357 |
</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:
104
diff
changeset
|
358 |
<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:
104
diff
changeset
|
359 |
<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:
104
diff
changeset
|
360 |
<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:
104
diff
changeset
|
361 |
</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:
104
diff
changeset
|
362 |
</if> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
363 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
364 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
365 |
<target name="sf-compile"> |
107
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:
104
diff
changeset
|
366 |
<!-- TODO: add here assigments to raptor-related ant references --> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
367 |
|
107
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:
104
diff
changeset
|
368 |
<!-- 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:
104
diff
changeset
|
369 |
<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:
104
diff
changeset
|
370 |
<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:
104
diff
changeset
|
371 |
<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:
104
diff
changeset
|
372 |
</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:
104
diff
changeset
|
373 |
|
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
374 |
<!-- 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
|
375 |
<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
|
376 |
<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
|
377 |
<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
|
378 |
<!--<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
|
379 |
</antcall> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
380 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
381 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
382 |
<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
|
383 |
<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
|
384 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
385 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
386 |
<target name="sf-tag-hg-code"> |
107
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:
104
diff
changeset
|
387 |
<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:
104
diff
changeset
|
388 |
<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:
104
diff
changeset
|
389 |
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:
104
diff
changeset
|
390 |
<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:
104
diff
changeset
|
391 |
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:
104
diff
changeset
|
392 |
data: csv(${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) |
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:
104
diff
changeset
|
393 |
</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:
104
diff
changeset
|
394 |
</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:
104
diff
changeset
|
395 |
<ant antfile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"/> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
396 |
</target> |
51 | 397 |
|
398 |
<target name="sf-diamondize-bom"> |
|
107
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:
104
diff
changeset
|
399 |
<fmpp sourceFile="${sf.common.config.dir}/templates/build-info.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:
104
diff
changeset
|
400 |
outputFile="${build.drive}/output/logs/BOM/build-info.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:
104
diff
changeset
|
401 |
<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:
104
diff
changeset
|
402 |
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:
104
diff
changeset
|
403 |
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:
104
diff
changeset
|
404 |
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:
104
diff
changeset
|
405 |
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:
104
diff
changeset
|
406 |
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:
104
diff
changeset
|
407 |
</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:
104
diff
changeset
|
408 |
</fmpp> |
51 | 409 |
</target> |
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
410 |
|
107
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:
104
diff
changeset
|
411 |
<target name="sf-preprocess-package-config"> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
412 |
<mkdir dir="${sf.common.config.dir}/generated"/> |
99
a115d49b621f
Include epl/sfl category in zipfile name
Shabe Razvi <shaber@symbian.org>
parents:
98
diff
changeset
|
413 |
<exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log"> |
107
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:
104
diff
changeset
|
414 |
<arg value="${sf.common.config.dir}/tools/populateziptemplate.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:
104
diff
changeset
|
415 |
<arg value="${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}"/> |
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:
104
diff
changeset
|
416 |
<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:
104
diff
changeset
|
417 |
<arg value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
96
b8d6af733d6d
Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
92
diff
changeset
|
418 |
</exec> |
107
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:
104
diff
changeset
|
419 |
</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:
104
diff
changeset
|
420 |
|
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:
104
diff
changeset
|
421 |
<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:
104
diff
changeset
|
422 |
<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:
104
diff
changeset
|
423 |
<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:
104
diff
changeset
|
424 |
<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:
104
diff
changeset
|
425 |
</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:
104
diff
changeset
|
426 |
|
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:
104
diff
changeset
|
427 |
<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:
104
diff
changeset
|
428 |
<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:
104
diff
changeset
|
429 |
<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:
104
diff
changeset
|
430 |
<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:
104
diff
changeset
|
431 |
</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:
104
diff
changeset
|
432 |
</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:
104
diff
changeset
|
433 |
|
134
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
434 |
<target name="sf-package-binary" depends="sf-preprocess-package-config,sf-package-postbuild-rnd"> |
114
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:
110
diff
changeset
|
435 |
<!--antcall target="sf-zip-content"> |
107
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:
104
diff
changeset
|
436 |
<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:
104
diff
changeset
|
437 |
<param name="zip.target.name" value="bin" /> |
114
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:
110
diff
changeset
|
438 |
</antcall--> |
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:
110
diff
changeset
|
439 |
|
134
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
440 |
<if><available file="${build.drive}/rnd_excludefile.txt" /> |
114
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:
110
diff
changeset
|
441 |
<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:
110
diff
changeset
|
442 |
<echo message="Packaging with exclude list"/> |
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:
110
diff
changeset
|
443 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log"> |
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:
110
diff
changeset
|
444 |
<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:
110
diff
changeset
|
445 |
<arg value="-tzip"/> |
134
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
446 |
<arg value="-x@${build.drive}/rnd_excludefile.txt"/> <!-- excludes --> |
114
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:
110
diff
changeset
|
447 |
<arg value="-x!epoc32\build"/> |
115
14d4d6666204
Exclude *.sym files from binary packaging
Shabe Razvi <shaber@symbian.org>
parents:
114
diff
changeset
|
448 |
<arg value="-xr!*.sym"/> |
114
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:
110
diff
changeset
|
449 |
<arg value="binaries_epoc.zip"/> |
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:
110
diff
changeset
|
450 |
<arg value="epoc32\"/> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
451 |
</exec> |
134
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
452 |
<move file="${build.drive}/rnd_excludefile.txt" todir="${build.log.dir}/"/> |
114
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:
110
diff
changeset
|
453 |
</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:
110
diff
changeset
|
454 |
<else> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
455 |
<echo message="Packaging without exclude list"/> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
456 |
<exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log"> |
114
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:
110
diff
changeset
|
457 |
<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:
110
diff
changeset
|
458 |
<arg value="-tzip"/> |
115
14d4d6666204
Exclude *.sym files from binary packaging
Shabe Razvi <shaber@symbian.org>
parents:
114
diff
changeset
|
459 |
<arg value="-x!epoc32\build"/> <!-- excludes --> |
14d4d6666204
Exclude *.sym files from binary packaging
Shabe Razvi <shaber@symbian.org>
parents:
114
diff
changeset
|
460 |
<arg value="-xr!*.sym"/> |
114
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:
110
diff
changeset
|
461 |
<arg value="binaries_epoc.zip"/> |
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:
110
diff
changeset
|
462 |
<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:
110
diff
changeset
|
463 |
</exec> |
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:
110
diff
changeset
|
464 |
</else> |
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:
110
diff
changeset
|
465 |
</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:
110
diff
changeset
|
466 |
<if><available file="${build.drive}/binaries_epoc.zip"/> |
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:
110
diff
changeset
|
467 |
<then><move file="${build.drive}/binaries_epoc.zip" todir="${build.drive}/output/zips/"/></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:
110
diff
changeset
|
468 |
</if> |
107
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:
104
diff
changeset
|
469 |
</target> |
134
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
470 |
|
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
471 |
<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:
132
diff
changeset
|
472 |
|
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
473 |
<!-- 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:
132
diff
changeset
|
474 |
<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:
132
diff
changeset
|
475 |
<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:
132
diff
changeset
|
476 |
</exec> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
477 |
<!-- 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:
132
diff
changeset
|
478 |
<move todir="${build.log.dir}"> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
479 |
<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:
132
diff
changeset
|
480 |
</move> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
481 |
<move todir="${build.drive}/output/zips/postbuild"> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
482 |
<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:
132
diff
changeset
|
483 |
</move> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
484 |
<!-- TODO: merge with release_metadata.xml ? --> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
485 |
</target> |
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
486 |
|
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
487 |
<!-- unpack rnd zips if available --> |
134
5b0bc2f89660
Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents:
132
diff
changeset
|
488 |
<target name="sf-unpack-rnd"> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
489 |
<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:
126
diff
changeset
|
490 |
<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:
126
diff
changeset
|
491 |
<arg value="x"/> |
149
a4079a41ca7f
Exclude list of things from RnD unpack that we know we can build
Shabe Razvi <shaber@symbian.org>
parents:
137
diff
changeset
|
492 |
<arg value="-x@${sf.common.config.dir}/tools/lists/rebuiltok.txt"/> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
493 |
<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:
126
diff
changeset
|
494 |
</exec> |
122
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
495 |
</target> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
496 |
|
122
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
497 |
<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:
120
diff
changeset
|
498 |
|
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
499 |
<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:
120
diff
changeset
|
500 |
|
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
501 |
<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:
120
diff
changeset
|
502 |
<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:
120
diff
changeset
|
503 |
<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:
120
diff
changeset
|
504 |
<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:
120
diff
changeset
|
505 |
<arg value="--force"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
506 |
</exec> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
507 |
</target> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
508 |
|
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
509 |
<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:
120
diff
changeset
|
510 |
<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:
120
diff
changeset
|
511 |
<arg value="-d"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
512 |
<arg value="epoc32"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
513 |
</exec> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
514 |
</target> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
515 |
|
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
516 |
<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:
120
diff
changeset
|
517 |
<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:
120
diff
changeset
|
518 |
<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:
120
diff
changeset
|
519 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_testdrop.log"> |
114
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:
110
diff
changeset
|
520 |
<arg value="ats3_testdrop.pl"/> |
122
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
521 |
<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:
120
diff
changeset
|
522 |
<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:
120
diff
changeset
|
523 |
<arg value="--password=${sf.spec.test.host.password}"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
524 |
<arg value="--local-test-pkg=${sf.spec.test.package.name}"/> |
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
525 |
<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:
120
diff
changeset
|
526 |
<arg value="--host-drop-path=${sf.spec.test.host.droppath}"/> |
114
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:
110
diff
changeset
|
527 |
</exec> |
122
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
528 |
</target> |
120
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
529 |
|
122
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
530 |
<!-- 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:
120
diff
changeset
|
531 |
<target name="sf-run-analysis"> |
120
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
532 |
<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:
116
diff
changeset
|
533 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
534 |
<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:
116
diff
changeset
|
535 |
<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:
116
diff
changeset
|
536 |
<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:
116
diff
changeset
|
537 |
<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:
116
diff
changeset
|
538 |
</exec> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
539 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
540 |
<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:
116
diff
changeset
|
541 |
<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:
116
diff
changeset
|
542 |
<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:
116
diff
changeset
|
543 |
<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:
116
diff
changeset
|
544 |
</exec> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
545 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
546 |
<echo message="Running whatlog analysis"/> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
547 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_what_results.csv"> |
120
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
548 |
<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:
116
diff
changeset
|
549 |
<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:
116
diff
changeset
|
550 |
</exec> |
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
551 |
|
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
552 |
<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:
116
diff
changeset
|
553 |
<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:
116
diff
changeset
|
554 |
<arg value="${sf.common.config.dir}/tools/analysis/merge_csv.pl"/> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
555 |
<arg value="${build.id}_what_results.csv"/> |
120
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
556 |
<arg value="${build.id}_list_results.log"/> |
155
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
150
diff
changeset
|
557 |
<arg value="${build.drive}/output/zips/postbuild/bin_rnd_internal_initial.zip"/> |
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
150
diff
changeset
|
558 |
</exec> |
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
150
diff
changeset
|
559 |
<exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_analysecomponents.log"> |
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
150
diff
changeset
|
560 |
<arg value="${sf.common.config.dir}/tools/analysis/analyse_components.pl"/> |
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
150
diff
changeset
|
561 |
<arg value="${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}"/> |
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
150
diff
changeset
|
562 |
<arg value="${build.id}_what_results.csv_results.csv"/> |
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
150
diff
changeset
|
563 |
<arg value="${sf.project.location}/sysdefs/system_model_os_contributed.xml"/> |
1f3285cd5668
Added analyse_components.pl and related call to build.xml
thomase
parents:
150
diff
changeset
|
564 |
<arg value="${sf.project.location}/sysdefs/system_model_s60_contributed.xml"/> |
132
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
565 |
</exec> |
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
566 |
|
cb16ca6483d9
Unpack actual RnD zips rather than fastcopy. Add build collisions tool to <sf-run-analysis> target.
Shabe Razvi <shaber@symbian.org>
parents:
126
diff
changeset
|
567 |
<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:
126
diff
changeset
|
568 |
<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:
126
diff
changeset
|
569 |
<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:
126
diff
changeset
|
570 |
<arg value="${build.log.dir}/analysis/${build.id}_what_results.csv"/> |
120
4f54ca96b7e8
Add build analysis tools to <sf-run-analysis> target. All output generated in <logs>\analysis dir.
Shabe Razvi <shaber@symbian.org>
parents:
116
diff
changeset
|
571 |
</exec> |
122
2c7b53b5228f
Add ATS test client target <sf-send-testpkg> to default configuration. Default is off.
Shabe Razvi <shaber@symbian.org>
parents:
120
diff
changeset
|
572 |
</target> |
114
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:
110
diff
changeset
|
573 |
|
31
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
574 |
</project> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
30
diff
changeset
|
575 |