628
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!--
|
|
3 |
============================================================================
|
|
4 |
Name : default_config.ant.xml
|
|
5 |
Part of : Helium
|
|
6 |
|
|
7 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
8 |
All rights reserved.
|
|
9 |
This component and the accompanying materials are made available
|
|
10 |
under the terms of the License "Eclipse Public License v1.0"
|
|
11 |
which accompanies this distribution, and is available
|
|
12 |
at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
13 |
|
|
14 |
Initial Contributors:
|
|
15 |
Nokia Corporation - initial contribution.
|
|
16 |
|
|
17 |
Contributors:
|
|
18 |
|
|
19 |
Description:
|
|
20 |
|
|
21 |
============================================================================
|
|
22 |
-->
|
|
23 |
<project name="default_config" xmlns:hlm="http://www.nokia.com/helium">
|
|
24 |
<description>
|
|
25 |
Default Helium configuration.
|
|
26 |
</description>
|
|
27 |
|
|
28 |
<!-- The path where Helium-specific outputs are written to.
|
|
29 |
@type string
|
|
30 |
@scope private
|
|
31 |
-->
|
|
32 |
<property name="helium.build.dir" location="${helium.dir}/build"/>
|
|
33 |
|
|
34 |
<!-- Location of generated logging config.
|
|
35 |
@type string
|
|
36 |
@scope private
|
|
37 |
-->
|
|
38 |
<property name="logging.output.file" location="${cache.dir}/logging.${env.PID}.conf" />
|
645
|
39 |
<fmpp sourceFile="${helium.dir}/tools/logging/templates/logging.conf.ftl" outputFile="${logging.output.file}" quiet="true">
|
628
|
40 |
<data expandProperties="yes">
|
|
41 |
ant: antProperties()
|
|
42 |
</data>
|
|
43 |
</fmpp>
|
|
44 |
|
|
45 |
<!-- Properties
|
|
46 |
======================================================================-->
|
|
47 |
<!-- Used to specify which team configuration is being used. These configuration files are under /mc/mc_build/teams.
|
|
48 |
@type string
|
|
49 |
-->
|
|
50 |
<property name="team" value="${env.TEAM}"/>
|
|
51 |
|
|
52 |
<!-- See if 'bn' is defined as a shortcut for build.number. -->
|
|
53 |
<if>
|
|
54 |
<isset property="bn"/>
|
|
55 |
<then>
|
|
56 |
<!-- Build number
|
|
57 |
@type integer
|
|
58 |
@scope public
|
|
59 |
-->
|
|
60 |
<property name="build.number" value="${bn}"/>
|
|
61 |
</then>
|
|
62 |
</if>
|
|
63 |
|
|
64 |
<!-- If build.drive not define then search the next free drive -->
|
|
65 |
<if>
|
|
66 |
<and>
|
|
67 |
<not>
|
|
68 |
<isset property="build.drive"/>
|
|
69 |
</not>
|
|
70 |
<os family="windows"/>
|
|
71 |
</and>
|
|
72 |
<then>
|
|
73 |
<!-- used to track if build.drive has predefined or not
|
645
|
74 |
@type boolean
|
628
|
75 |
@scope private
|
|
76 |
-->
|
645
|
77 |
<property name="build.drive.notdefined" value="true"/>
|
|
78 |
<hlm:resourceaccess lockName="subst-drive">
|
|
79 |
<exec osfamily="windows" executable="python" failonerror="true" outputproperty="build.drive">
|
|
80 |
<arg line="-m searchnextdrive"/>
|
|
81 |
</exec>
|
|
82 |
<if>
|
|
83 |
<equals arg1="${build.drive}" arg2="Error: No free drive!"/>
|
|
84 |
<then>
|
|
85 |
<fail message="ERROR: Failed to assign build drive, please check you are not running out of drives." />
|
|
86 |
</then>
|
|
87 |
</if>
|
|
88 |
<mkdir dir="${env.TEMP}/helium/temp_drive"/>
|
|
89 |
<exec osfamily="windows" executable="subst" failonerror="false">
|
|
90 |
<arg value="${build.drive}" />
|
|
91 |
<arg value="${env.TEMP}/helium/temp_drive" />
|
|
92 |
</exec>
|
|
93 |
</hlm:resourceaccess>
|
628
|
94 |
<script language="jython" setbeans="false">
|
|
95 |
<![CDATA[
|
|
96 |
import os
|
|
97 |
import java.lang.Runtime
|
|
98 |
import java.lang.Thread
|
|
99 |
class UnsubstListener(java.lang.Thread):
|
|
100 |
def run(self):
|
|
101 |
java.lang.Runtime.getRuntime().exec("subst /d " + project.getProperty("build.drive"))
|
|
102 |
if os.sep == '\\':
|
|
103 |
java.lang.Runtime.getRuntime().addShutdownHook(UnsubstListener())
|
|
104 |
]]>
|
|
105 |
</script>
|
|
106 |
<echo> Using build drive ${build.drive} </echo>
|
|
107 |
</then>
|
|
108 |
</if>
|
|
109 |
|
|
110 |
<!-- For unix os prep.build.dir is equivalent to build.drive -->
|
|
111 |
<condition property="prep.build.dir" value="${build.drive}">
|
|
112 |
<and>
|
|
113 |
<isset property="build.drive"/>
|
|
114 |
<os family="unix"/>
|
|
115 |
</and>
|
|
116 |
</condition>
|
|
117 |
|
|
118 |
<!--* @property core.build.version
|
|
119 |
This Defaults to the ${major.version}.${minor.version} combo and is available so that 1 number can be used (dot can be removed)
|
|
120 |
@type string
|
|
121 |
@scope private
|
|
122 |
-->
|
|
123 |
|
|
124 |
<!-- Set core build version depending the value set for ${major.version}.${minor.version} -->
|
|
125 |
<condition property="core.build.version" value="${major.version}.${minor.version}" else="${env.USERNAME}">
|
|
126 |
<and>
|
|
127 |
<isset property="major.version"/>
|
|
128 |
<isset property="minor.version"/>
|
|
129 |
</and>
|
|
130 |
</condition>
|
|
131 |
|
|
132 |
<!--* @property read.build.int
|
|
133 |
If defined, indicates that the build number should be read from an incrementing text file.
|
|
134 |
@type string
|
|
135 |
@scope public
|
|
136 |
-->
|
|
137 |
<!--* @property build.tag
|
|
138 |
If defined, defines the prefix for the build number when it is read from an incrementing text file.
|
|
139 |
@type string
|
|
140 |
@scope public
|
|
141 |
-->
|
|
142 |
<if>
|
|
143 |
<and>
|
|
144 |
<isset property="read.build.int"/>
|
|
145 |
<not>
|
|
146 |
<isset property="build.number"/>
|
|
147 |
</not>
|
|
148 |
</and>
|
|
149 |
<then>
|
|
150 |
<if>
|
|
151 |
<isset property="build.tag"/>
|
|
152 |
<then>
|
|
153 |
<property name="build.tag.ext" value="${build.tag}."/>
|
|
154 |
</then>
|
|
155 |
<else>
|
|
156 |
<property name="build.tag.ext" value=""/>
|
|
157 |
<property name="build.tag" value=""/>
|
|
158 |
</else>
|
|
159 |
</if>
|
|
160 |
<!-- Use an internal directory to store text files for assigning build number information. -->
|
|
161 |
<!-- The directory where the build integer database text files are stored.
|
|
162 |
@type string
|
|
163 |
@scope private
|
|
164 |
-->
|
|
165 |
<property name="build.int.db.dir" location="${publish.root.dir}/internal/build_int_db"/>
|
|
166 |
<mkdir dir="${build.int.db.dir}"/>
|
|
167 |
<property name="build.int.db.file" value="${build.int.db.dir}/${build.name}_${core.build.version}_${build.tag}_build_int_db.txt"/>
|
|
168 |
<if>
|
|
169 |
<available file="${build.int.db.file}"/>
|
|
170 |
<then>
|
|
171 |
<echo>Reading from existing build number property file.</echo>
|
|
172 |
<property file="${build.int.db.file}"/>
|
|
173 |
<echo>Build int = ${build.int}</echo>
|
|
174 |
<!-- Read the comments in the file too, for history information. -->
|
|
175 |
<loadfile property="build.int.db.file.comments" srcFile="${build.int.db.file}">
|
|
176 |
<filterchain>
|
|
177 |
<linecontains>
|
|
178 |
<contains value="# history: "/>
|
|
179 |
</linecontains>
|
|
180 |
</filterchain>
|
|
181 |
</loadfile>
|
|
182 |
<!-- Set the property in case nothing was found. -->
|
|
183 |
<property name="build.int.db.file.comments" value=""/>
|
|
184 |
<echo>History comments:
|
|
185 |
${build.int.db.file.comments}</echo>
|
|
186 |
<!-- Build number
|
|
187 |
@type integer
|
|
188 |
@scope public
|
|
189 |
-->
|
|
190 |
<property name="build.number" value="${build.tag.ext}${build.int}"/>
|
|
191 |
<echo>Writing incremented build int back to file.</echo>
|
|
192 |
<propertyfile file="${build.int.db.file}" comment="build.int database file">
|
|
193 |
<entry key="build.int" type="int" default="001" operation="+" pattern="000"/>
|
|
194 |
</propertyfile>
|
|
195 |
<tstamp>
|
|
196 |
<format property="build.int.db.file.tstamp" pattern="dd/MM/yyyy-HH:mm:ss"/>
|
|
197 |
</tstamp>
|
|
198 |
<concat destfile="${build.int.db.file}" append="true">
|
|
199 |
${build.int.db.file.comments}
|
|
200 |
# history: ${env.COMPUTERNAME};${env.USERNAME};${build.int.db.file.tstamp};${build.int}
|
|
201 |
</concat>
|
|
202 |
</then>
|
|
203 |
<else>
|
|
204 |
<echo>Build number property file not found. Creating a new one.</echo>
|
|
205 |
<property name="new.build.int" value="001"/>
|
|
206 |
<!-- Build number
|
|
207 |
@type integer
|
|
208 |
@scope public
|
|
209 |
-->
|
|
210 |
<property name="build.number" value="${build.tag.ext}${new.build.int}"/>
|
|
211 |
<echo>Build number = ${build.number}</echo>
|
|
212 |
<propertyfile file="${build.int.db.file}" comment="build.int database file">
|
|
213 |
<entry key="build.int" type="int" default="001" operation="+" pattern="000"/>
|
|
214 |
</propertyfile>
|
|
215 |
</else>
|
|
216 |
</if>
|
|
217 |
</then>
|
|
218 |
</if>
|
|
219 |
|
|
220 |
|
|
221 |
<!-- Define a number of properties that should be consistent amongst all builds. They can be overridden
|
|
222 |
within any config or team Ant file though. -->
|
|
223 |
<!-- A general label for this type of build. Currently if not defined, product.name will be used to set this property, but this will likely be removed in future.
|
|
224 |
@type string
|
|
225 |
@editable required
|
|
226 |
-->
|
|
227 |
<property name="build.name" value="helium"/>
|
|
228 |
|
|
229 |
<!--* @property build.version
|
|
230 |
Version of the build.
|
|
231 |
@type string
|
|
232 |
@scope private
|
|
233 |
-->
|
|
234 |
<!-- Set build version depending the value set to core.build.version and build.number -->
|
|
235 |
<condition property="build.version" value="${core.build.version}.${build.number}" else="${env.USERNAME}">
|
|
236 |
<and>
|
|
237 |
<isset property="core.build.version"/>
|
|
238 |
<isset property="build.number"/>
|
|
239 |
</and>
|
|
240 |
</condition>
|
|
241 |
|
|
242 |
|
|
243 |
<!-- A unique ID for the build.
|
|
244 |
@type string
|
|
245 |
@scope private
|
|
246 |
-->
|
|
247 |
<property name="build.id" value="${build.name}_${build.version}"/>
|
|
248 |
<!-- The general type of the build. This is used for checking the tools environment. Potential values include core, ido, product.
|
|
249 |
@type string
|
|
250 |
-->
|
|
251 |
<property name="build.type" value="core"/>
|
|
252 |
<condition property="epocroot" value="${env.EPOCROOT}" else="${env.EPOCROOT}/">
|
|
253 |
<matches pattern="^.*[\\/]$" string="${env.EPOCROOT}" />
|
|
254 |
</condition>
|
|
255 |
<!-- The data model XML file for the Ant configuration.
|
|
256 |
@type string
|
|
257 |
@scope private
|
|
258 |
-->
|
|
259 |
<property name="data.model.file" location="${helium.dir}/config/helium_data_model.xml"/>
|
|
260 |
<!-- The data model XML file for the Ant configuration parsed.
|
|
261 |
@type string
|
|
262 |
@scope private
|
|
263 |
-->
|
|
264 |
<property name="data.model.parsed" location="${helium.build.dir}/datamodel.out"/>
|
|
265 |
<condition property="data.model.xsl" value="${helium.dir}/extensions/nokia/config/helium_nokia_data_model.xsl" else="${helium.dir}/config/helium_data_model.xsl">
|
|
266 |
<available file="${helium.dir}/extensions/nokia/config/helium_nokia_data_model.xsl"/>
|
|
267 |
</condition>
|
|
268 |
<!-- Location of helium database
|
|
269 |
@type string
|
|
270 |
@scope private
|
|
271 |
-->
|
|
272 |
<property name="database.file" location="${basedir}/build/database.xml"/>
|
|
273 |
<!-- Directory where CCM operations will be performed.
|
|
274 |
@type string
|
|
275 |
-->
|
|
276 |
<property name="ccm.base.dir" location="${ccm.home.dir}\${minor.version}"/>
|
|
277 |
<!-- This is the directory where the build area is prepared. Once created it is substed to the build.drive.
|
|
278 |
@type string
|
|
279 |
@scope private
|
|
280 |
-->
|
|
281 |
<property name="prep.build.dir" location="${prep.root.dir}/${build.id}"/>
|
|
282 |
<!-- This is the directory where build output is placed.
|
|
283 |
@type string
|
|
284 |
@scope private
|
|
285 |
-->
|
|
286 |
|
|
287 |
<!-- If build.drive not define then prep.buil.dir is the value for build.drive for unix os -->
|
|
288 |
<condition property="build.drive" value="${prep.build.dir}">
|
|
289 |
<and>
|
|
290 |
<not>
|
|
291 |
<isset property="build.drive"/>
|
|
292 |
</not>
|
|
293 |
<os family="unix"/>
|
|
294 |
</and>
|
|
295 |
</condition>
|
|
296 |
|
|
297 |
<property name="build.output.dir" location="${build.drive}/output"/>
|
|
298 |
<!-- This is where the diamonds output XML files are stored.
|
|
299 |
@type string
|
|
300 |
@scope private
|
|
301 |
-->
|
|
302 |
<property name="diamonds.build.output.dir" location="${build.output.dir}/diamonds"/>
|
|
303 |
<!-- This is the directory where sisfiles are placed.
|
|
304 |
@type string
|
|
305 |
@scope private
|
|
306 |
-->
|
|
307 |
<property name="build.sisfiles.dir" location="${build.output.dir}/sisfiles"/>
|
|
308 |
<!-- This is the directory where build area is archived after the build has finished.
|
|
309 |
@type string
|
|
310 |
@scope private
|
|
311 |
-->
|
|
312 |
<property name="zips.build.dir" location="${build.output.dir}/build_area/engineering_english"/>
|
|
313 |
<!-- This is the directory where build area is archived after the localisation.
|
|
314 |
@type string
|
|
315 |
@scope private
|
|
316 |
-->
|
|
317 |
<property name="zips.loc.dir" location="${build.output.dir}/build_area/localised"/>
|
|
318 |
<!-- The directory where subcon zips are stored.
|
|
319 |
@type string
|
|
320 |
@scope private
|
|
321 |
-->
|
|
322 |
<property name="subcon.zips.dir" location="${build.output.dir}/build_area/subcon"/>
|
|
323 |
<!-- This is the directory where flash files are archived.
|
|
324 |
@type string
|
|
325 |
@scope private
|
|
326 |
-->
|
|
327 |
<property name="zips.flashfiles.dir" location="${build.output.dir}/zips_flashfiles"/>
|
|
328 |
<!-- This is where the build logs are stored.
|
|
329 |
@type string
|
|
330 |
@scope private
|
|
331 |
-->
|
|
332 |
<property name="build.log.dir" location="${build.output.dir}/logs"/>
|
|
333 |
<!-- This is where the signal related files are stored.
|
|
334 |
@type string
|
|
335 |
@scope private
|
|
336 |
-->
|
|
337 |
<property name="build.signal.status.dir" location="${build.log.dir}/signals"/>
|
|
338 |
<!-- This is the email template path where it updates the build status based on metadata database contents. The default file could (email_status_orm.html.ftl under tools\common\template\log)be used as the base and any additional info could be added
|
|
339 |
@type string
|
|
340 |
-->
|
|
341 |
<property name="build.status.email.template" location="${helium.dir}/tools/common/templates/log/email_status_orm.html.ftl" />
|
|
342 |
<!-- Location of build metadata database.
|
|
343 |
@type string
|
|
344 |
@scope private
|
|
345 |
-->
|
|
346 |
<condition property="metadata.dbfile" value="${build.log.dir}/${build.id}_metadata_db" else="${build.log.dir}/${build.id}${env.PID}_metadata_db">
|
|
347 |
<isset property="build.number"/>
|
|
348 |
</condition>
|
|
349 |
|
|
350 |
<!-- Directory to store temporary files generated during the process.
|
|
351 |
@type string
|
|
352 |
@scope private
|
|
353 |
-->
|
|
354 |
<property name="temp.build.dir" location="${build.output.dir}/temp_build_files"/>
|
|
355 |
<!-- The 'failonerror' attribute for exec tasks.
|
|
356 |
@type boolean
|
|
357 |
@scope public
|
|
358 |
-->
|
|
359 |
<property name="failonerror" value="false"/>
|
|
360 |
<!-- Maximum allowable errors in a build.
|
645
|
361 |
@type integer
|
628
|
362 |
-->
|
|
363 |
<property name="build.errors.limit" value="0"/>
|
|
364 |
<!-- Unsubsted drive after build finished. If not defined then helium should left the drive as subst. Set the value as "yes" if you want to unsubst after build finished.
|
|
365 |
@type string
|
|
366 |
-->
|
|
367 |
<property name="unsubst.after.build" value="no"/>
|
|
368 |
<!-- display warnings at build startup if required properties are not defined.
|
|
369 |
@type string
|
|
370 |
@scope private
|
|
371 |
-->
|
|
372 |
<property name="validate.properties.at.startup" value="yes"/>
|
|
373 |
<!-- A unique name for the WA Sources ZIP file.
|
|
374 |
@type string
|
|
375 |
@scope private
|
|
376 |
-->
|
|
377 |
<property name="zip.wa.file" value="${build.drive}/output/src/${build.id}_sources.zip"/>
|
|
378 |
<!-- The location and name of the target times log file. Default value is: ${build.log.dir}/${build.id}_targetTimesLog.csv
|
|
379 |
@type string
|
|
380 |
-->
|
|
381 |
<property name="target.times.log.file" value="${build.log.dir}/${build.id}_targetTimesLog.csv"/>
|
|
382 |
|
|
383 |
<!-- Cache related properties. -->
|
|
384 |
<!-- Directory where Helium can store files on a temporary basis for a user per build.
|
|
385 |
@type string
|
|
386 |
@scope private
|
|
387 |
-->
|
|
388 |
<property name="build.cache.dir" location="${cache.dir}/${build.id}"/>
|
|
389 |
<!-- Directory where Helium can store log files on a temporary basis for a user per build.
|
|
390 |
@type string
|
|
391 |
@scope private
|
|
392 |
-->
|
|
393 |
<property name="build.cache.log.dir" location="${build.cache.dir}/logs"/>
|
|
394 |
<mkdir dir="${build.cache.log.dir}"/>
|
|
395 |
|
|
396 |
<!-- Path location for the memory tracing data captured by the TracingLogger.
|
|
397 |
@type string
|
|
398 |
@scope private
|
|
399 |
-->
|
|
400 |
<property name="tracing.csv.file" location="${build.cache.dir}/logs/${build.id}_traces.csv"/>
|
|
401 |
|
|
402 |
<!-- Publish dir configuration. Defines subdir first and next toplevel properties. -->
|
|
403 |
<!-- Subdir part of the publish dir, relative to publish.root.dir
|
|
404 |
@type string
|
|
405 |
-->
|
|
406 |
<property name="publish.subdir" value="${build.name}/builds/${core.build.version}/${build.id}"/>
|
|
407 |
<!-- Subdir part of the publish release dir, relative to publish.root.dir
|
|
408 |
@type string
|
|
409 |
@scope private
|
|
410 |
-->
|
|
411 |
<property name="publish.release.subdir" value="${build.name}/releases/${core.build.version}/${build.id}"/>
|
|
412 |
<!-- Directory where the build is published (includes build.id)
|
|
413 |
@type string
|
|
414 |
-->
|
|
415 |
<property name="publish.dir" location="${publish.root.dir}/${publish.subdir}"/>
|
|
416 |
<!-- The directory where the release of this build is published to on the local network.
|
|
417 |
@type string
|
|
418 |
@scope private
|
|
419 |
-->
|
|
420 |
<property name="publish.release.dir" location="${publish.root.dir}/${publish.release.subdir}"/>
|
|
421 |
<condition property="is.published" else="false">
|
|
422 |
<or>
|
|
423 |
<istrue value="${publish.enabled}"/>
|
|
424 |
<isset property="publish"/>
|
|
425 |
</or>
|
|
426 |
</condition>
|
|
427 |
|
|
428 |
<!-- The directory where flash images of build can be found
|
|
429 |
@type string
|
|
430 |
@scope private
|
|
431 |
-->
|
|
432 |
<property name="release.images.dir" value="${build.output.dir}/release_flash_images"/>
|
|
433 |
<!-- Defines location of binaries created in build. Used in check-capability target while generating capability scan report.
|
|
434 |
@type string
|
|
435 |
@scope private
|
|
436 |
-->
|
|
437 |
<property name="binary.root" value="${build.drive}/epoc32/release/armv5/urel" />
|
|
438 |
<!-- Location of python library
|
|
439 |
@type string
|
|
440 |
@scope private
|
|
441 |
-->
|
|
442 |
<property name="python.dir" value="${helium.dir}/external/python/lib"/>
|
|
443 |
<!-- @type string
|
|
444 |
@scope private
|
|
445 |
-->
|
|
446 |
<property name="python.tools" value="${helium.dir}/external/python/bin"/>
|
|
447 |
|
|
448 |
<!-- EBS is selected as the default build system, but ec for Electric Cloud could be used. -->
|
|
449 |
<!-- This specifies which build system is used. Default for this is ebs You can use ec for Electric Cloud..
|
|
450 |
@type string
|
|
451 |
-->
|
|
452 |
<property name="build.system" value="ebs"/>
|
|
453 |
<!-- Path for the output XML file generated by genxml used as input to EBS or EC.
|
|
454 |
@type string
|
|
455 |
@scope private
|
|
456 |
-->
|
|
457 |
<property name="genxml.output.file" location="${temp.build.dir}/${build.id}.${sysdef.configuration}.xml" />
|
|
458 |
<!-- The path of the generated canonical System Definition file that contains all the input System Definition file content.
|
|
459 |
@type string
|
|
460 |
@scope private
|
|
461 |
-->
|
|
462 |
<property name="canonical.sysdef.file" value="${build.output.dir}/build/canonical_system_definition.xml"/>
|
|
463 |
<!-- @type string
|
|
464 |
@scope private
|
|
465 |
-->
|
|
466 |
<property name="build.system.${build.system}" value="Not used"/>
|
|
467 |
<!-- This is the file where build summary is stored.
|
|
468 |
@type string
|
|
469 |
@scope private
|
|
470 |
-->
|
|
471 |
<property name="build.summary.file" location="${build.log.dir}/summary/${build.id}_summary.log.xml"/>
|
|
472 |
<property name="error.summary.file" location="${build.log.dir}/summary/${build.id}_error_summary.log.xml"/>
|
|
473 |
<!-- Defines name of the log file.
|
|
474 |
@type string
|
|
475 |
@scope private
|
|
476 |
-->
|
|
477 |
<property name="build.log" value="${build.log.dir}/${build.id}_main.ant.log"/>
|
|
478 |
|
|
479 |
<!-- Path where ant XML files dynamically downloaded from jar file.
|
|
480 |
@type string
|
|
481 |
@scope private
|
|
482 |
-->
|
|
483 |
<property name="antlib.import.module.path" location="${helium.dir}/tools/hlm-antlib-imports"/>
|
|
484 |
|
|
485 |
<!-- Following are temporarily defined here until global tools available-->
|
|
486 |
<!-- This specifies the directory where Electric Cloud history files are stored. Currently defined in helium.ant.xml and mapped related to publish.root.dir
|
|
487 |
@type string
|
|
488 |
@scope private
|
|
489 |
-->
|
|
490 |
<property name="ec.history.dir" location="${publish.root.dir}\${product.family}\ec_history"/>
|
|
491 |
<!-- Version of build
|
|
492 |
@type string
|
|
493 |
-->
|
|
494 |
<property name="release.label" value="${build.version}"/>
|
|
495 |
<!-- mode is either serial / parallel - default is parallel
|
|
496 |
@type string
|
|
497 |
-->
|
|
498 |
<property name="ec.mode" value="parallel" />
|
|
499 |
<!-- Setting this to "1" will force xml2mak to generate only warnings (instead of errors) for duplicate components in the component list
|
|
500 |
@type string
|
|
501 |
@scope private
|
|
502 |
-->
|
|
503 |
<property name="ec.allow.duplicates" value="0" />
|
|
504 |
<!-- Defines log file where to record archiving of engineering english area.
|
|
505 |
@type string
|
|
506 |
@scope private
|
|
507 |
-->
|
|
508 |
<property name="zip.ee.log.file" location="${build.log.dir}/${build.id}_ee_zip.log" />
|
|
509 |
<!-- The path to the localization zipping log file.
|
|
510 |
@type string
|
|
511 |
@scope private
|
|
512 |
-->
|
|
513 |
<property name="zip.localised.log.file" location="${build.log.dir}/${build.id}_localised_zip.log" />
|
|
514 |
<!-- Defines log file where to record archiving of subcon environment.
|
|
515 |
@type string
|
|
516 |
@scope private
|
|
517 |
-->
|
|
518 |
<property name="zip.subcon.log.file" value="${build.log.dir}/${build.id}_subcon_zip.log" />
|
|
519 |
<!-- The log file name for zipping subcon_roms.
|
|
520 |
@type string
|
|
521 |
@scope private
|
|
522 |
-->
|
|
523 |
<property name="zip.subcon_roms.log.file" location="${build.log.dir}/${build.id}_subcon_roms_zip.log" />
|
|
524 |
<!-- The log file name for zipping trace_roms.
|
|
525 |
@type string
|
|
526 |
@scope private
|
|
527 |
-->
|
|
528 |
<property name="zip.trace_roms.log.file" location="${build.log.dir}/${build.id}_trace_roms_zip.log" />
|
|
529 |
<!-- target to be executed in case of exceptions (mainly to generate the summary and raise signal).
|
|
530 |
@type string
|
|
531 |
@scope private
|
|
532 |
-->
|
|
533 |
<property name="exceptions.target" value="hlm-exception-handler"/>
|
|
534 |
<!-- The tools dependencies Ivy settings configuration file.
|
|
535 |
@type string
|
|
536 |
-->
|
|
537 |
<property name="tools.ivy.config.file" location="${helium.dir}/config/ivy/tools_ivy_settings.xml" />
|
|
538 |
|
|
539 |
<!-- A file where persistent properties for a build should be stored.
|
|
540 |
@type string
|
|
541 |
@scope private
|
|
542 |
-->
|
|
543 |
<property name="build.property.cache.file" location="${diamonds.build.output.dir}/build_properties_cache.txt" />
|
|
544 |
|
|
545 |
<!-- Level of ant logging.
|
|
546 |
@type string
|
|
547 |
-->
|
|
548 |
<property name="ant.loglevel" value="verbose"/>
|
|
549 |
|
|
550 |
<!-- Default number of threads is 2 * NUMBER_OF_PROCESSORS, but this can be overridden by defining the
|
|
551 |
property manually. -->
|
|
552 |
<if>
|
|
553 |
<not>
|
|
554 |
<isset property="number.of.threads"/>
|
|
555 |
</not>
|
|
556 |
<then>
|
|
557 |
<if>
|
|
558 |
<isset property="env.NUMBER_OF_PROCESSORS"/>
|
|
559 |
<then>
|
|
560 |
<math result="number.of.threads" operand1="${env.NUMBER_OF_PROCESSORS}" operation="*" operand2="2" datatype="int"/>
|
|
561 |
</then>
|
|
562 |
<else>
|
|
563 |
<!-- how many parallel threads can run
|
|
564 |
@type string
|
|
565 |
@scope public
|
|
566 |
-->
|
|
567 |
<property name="number.of.threads" value="2"/>
|
|
568 |
</else>
|
|
569 |
</if>
|
|
570 |
</then>
|
|
571 |
</if>
|
|
572 |
|
|
573 |
<!--* @property product.family
|
|
574 |
In product builds defines the product family that the build product belong to.
|
|
575 |
@type string
|
|
576 |
@editable required
|
|
577 |
@scope public
|
|
578 |
-->
|
|
579 |
|
|
580 |
<!--* @property product.list
|
|
581 |
In product builds defines the list of products that are build in the configuration. Property is used in rom image creation, localisation release notes creation and data packaging.
|
|
582 |
@type string
|
|
583 |
@editable required
|
|
584 |
@scope public
|
|
585 |
-->
|
|
586 |
|
|
587 |
<!--* @property diamonds.build.tags
|
|
588 |
|
|
589 |
@type string
|
|
590 |
@editable optional
|
|
591 |
@scope public
|
|
592 |
-->
|
|
593 |
|
|
594 |
</project>
|
|
595 |
|
|
596 |
|