22 --> |
22 --> |
23 <project name="helium" xmlns:hlm="http://www.nokia.com/helium"> |
23 <project name="helium" xmlns:hlm="http://www.nokia.com/helium"> |
24 <description> |
24 <description> |
25 Main full build targets and properties |
25 Main full build targets and properties |
26 </description> |
26 </description> |
27 |
27 |
28 <!-- Check the Ant version is what we expect. --> |
28 <import file="build-jar.ant.xml"/> |
29 <property name="required.ant.version" value="1.7.0"/> |
|
30 <fail message="Incorrect version of Ant found. Please check you have Ant ${required.ant.version}."> |
|
31 <condition> |
|
32 <and> |
|
33 <os family="windows"/> |
|
34 <not> |
|
35 <antversion exactly="${required.ant.version}"/> |
|
36 </not> |
|
37 </and> |
|
38 </condition> |
|
39 </fail> |
|
40 |
|
41 |
29 |
42 <!-- Load the current Helium version. --> |
30 <!-- Load the current Helium version. --> |
|
31 <!-- @property helium.version |
|
32 @type string |
|
33 @scope private |
|
34 --> |
43 <property file="${helium.dir}/config/version.txt"/> |
35 <property file="${helium.dir}/config/version.txt"/> |
44 |
36 |
45 <!-- Libraries |
37 <!-- Libraries |
46 ======================================================================--> |
38 ======================================================================--> |
47 <import file="helium_preinclude.ant.xml"/> |
39 <import file="helium_preinclude.ant.xml"/> |
48 |
40 |
49 <property name="cache.dir" location="${env.TEMP}/helium/${env.USERNAME}"/> |
41 <!-- The path where Helium-specific outputs are written to. |
|
42 @type string |
|
43 @scope private |
|
44 --> |
50 <property name="helium.build.dir" location="${helium.dir}/build"/> |
45 <property name="helium.build.dir" location="${helium.dir}/build"/> |
51 |
46 |
52 <hlm:typedef file="${helium.dir}/tools/common/common.antlib.xml" uri="http://www.nokia.com/helium"/> |
47 <hlm:typedef file="${helium.dir}/tools/common/common.antlib.xml" uri="http://www.nokia.com/helium"/> |
53 |
48 |
|
49 <!-- Location of generated logging config. |
|
50 @type string |
|
51 @scope private |
|
52 --> |
54 <property name="logging.output.file" location="${cache.dir}/logging.${env.PID}.conf" /> |
53 <property name="logging.output.file" location="${cache.dir}/logging.${env.PID}.conf" /> |
55 <fmpp sourceFile="${helium.dir}/config/logging.conf.ftl" outputFile="${logging.output.file}" quiet="true"> |
54 <fmpp sourceFile="${helium.dir}/config/logging.conf.ftl" outputFile="${logging.output.file}" quiet="true"> |
56 <data expandProperties="yes"> |
55 <data expandProperties="yes"> |
57 ant: antProperties() |
56 ant: antProperties() |
58 </data> |
57 </data> |
59 </fmpp> |
58 </fmpp> |
60 |
59 |
61 <!-- Properties |
60 <!-- Properties |
62 ======================================================================--> |
61 ======================================================================--> |
|
62 <!-- Used to specify which team configuration is being used. These configuration files are under /mc/mc_build/teams. |
|
63 @type string |
|
64 --> |
63 <property name="team" value="${env.TEAM}"/> |
65 <property name="team" value="${env.TEAM}"/> |
64 |
66 |
65 <!-- See if 'bn' is defined as a shortcut for build.number. --> |
67 <!-- See if 'bn' is defined as a shortcut for build.number. --> |
66 <if> |
68 <if> |
67 <isset property="bn"/> |
69 <isset property="bn"/> |
68 <then> |
70 <then> |
|
71 <!-- Build number |
|
72 @type integer |
|
73 @scope public |
|
74 --> |
69 <property name="build.number" value="${bn}"/> |
75 <property name="build.number" value="${bn}"/> |
70 </then> |
76 </then> |
71 </if> |
77 </if> |
72 |
78 |
73 <!-- If build.drive not define then search the next free drive --> |
79 <!-- If build.drive not define then search the next free drive --> |
74 <if> |
80 <if> |
75 <not> |
81 <not> |
76 <isset property="build.drive"/> |
82 <isset property="build.drive"/> |
77 </not> |
83 </not> |
78 <then> |
84 <then> |
|
85 <!-- used to track if build.drive has predefined or not |
|
86 @type flag |
|
87 @scope private |
|
88 --> |
79 <property name="build.drive.notdefined" value="true"/> |
89 <property name="build.drive.notdefined" value="true"/> |
80 <exec osfamily="windows" executable="python" failonerror="true" outputproperty="build.drive"> |
90 <exec osfamily="windows" executable="python" failonerror="true" outputproperty="build.drive"> |
81 <arg value="${helium.dir}/tools/common/python/scripts/searchnextdrive.py"/> |
91 <arg line="-m searchnextdrive"/> |
82 </exec> |
92 </exec> |
83 <if> |
93 <if> |
84 <equals arg1="${build.drive}" arg2="Error: No free drive!"/> |
94 <equals arg1="${build.drive}" arg2="Error: No free drive!"/> |
85 <then> |
95 <then> |
86 <fail message="ERROR: Failed to assign build drive, please check you are not running out of drives." /> |
96 <fail message="ERROR: Failed to assign build drive, please check you are not running out of drives." /> |
170 </if> |
198 </if> |
171 |
199 |
172 |
200 |
173 <!-- Define a number of properties that should be consistent amongst all builds. They can be overridden |
201 <!-- Define a number of properties that should be consistent amongst all builds. They can be overridden |
174 within any config or team Ant file though. --> |
202 within any config or team Ant file though. --> |
|
203 <!-- 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. |
|
204 @type string |
|
205 @editable required |
|
206 --> |
175 <property name="build.name" value="helium"/> |
207 <property name="build.name" value="helium"/> |
176 <if> |
208 <if> |
177 <and> |
209 <and> |
178 <isset property="core.build.version"/> |
210 <isset property="core.build.version"/> |
179 <isset property="build.number"/> |
211 <isset property="build.number"/> |
180 </and> |
212 </and> |
181 <then> |
213 <then> |
|
214 <!-- Version of the build. |
|
215 @type string |
|
216 @scope private |
|
217 --> |
182 <property name="build.version" value="${core.build.version}.${build.number}"/> |
218 <property name="build.version" value="${core.build.version}.${build.number}"/> |
183 </then> |
219 </then> |
184 <else> |
220 <else> |
|
221 <!-- Version of the build. |
|
222 @type string |
|
223 @scope private |
|
224 --> |
185 <property name="build.version" value="${env.USERNAME}"/> |
225 <property name="build.version" value="${env.USERNAME}"/> |
186 </else> |
226 </else> |
187 </if> |
227 </if> |
188 |
228 |
|
229 <!-- A unique ID for the build. |
|
230 @type string |
|
231 @scope private |
|
232 --> |
189 <property name="build.id" value="${build.name}_${build.version}"/> |
233 <property name="build.id" value="${build.name}_${build.version}"/> |
|
234 <!-- The general type of the build. This is used for checking the tools environment. Potential values include core, ido, product. |
|
235 @type string |
|
236 --> |
190 <property name="build.type" value="core"/> |
237 <property name="build.type" value="core"/> |
191 <property name="epocroot" value="\"/> |
238 <condition property="epocroot" value="${env.EPOCROOT}" else="${env.EPOCROOT}/"> |
|
239 <matches pattern="^.*[\\/]$" string="${env.EPOCROOT}" /> |
|
240 </condition> |
|
241 <!-- The data model XML file for the Ant configuration. |
|
242 @type string |
|
243 @scope private |
|
244 --> |
192 <property name="data.model.file" location="${helium.dir}/config/helium_data_model.xml"/> |
245 <property name="data.model.file" location="${helium.dir}/config/helium_data_model.xml"/> |
|
246 <!-- The data model XML file for the Ant configuration parsed. |
|
247 @type string |
|
248 @scope private |
|
249 --> |
193 <property name="data.model.parsed" location="${helium.build.dir}/datamodel.out"/> |
250 <property name="data.model.parsed" location="${helium.build.dir}/datamodel.out"/> |
194 <condition property="data.model.xsl" value="${helium.dir}/extensions/nokia/config/helium_nokia_data_model.xsl" else="${helium.dir}/config/helium_data_model.xsl"> |
251 <condition property="data.model.xsl" value="${helium.dir}/extensions/nokia/config/helium_nokia_data_model.xsl" else="${helium.dir}/config/helium_data_model.xsl"> |
195 <available file="${helium.dir}/extensions/nokia/config/helium_nokia_data_model.xsl"/> |
252 <available file="${helium.dir}/extensions/nokia/config/helium_nokia_data_model.xsl"/> |
196 </condition> |
253 </condition> |
197 <property name="database.file" location="${helium.dir}/build/database.xml"/> |
254 <!-- Location of helium database |
|
255 @type string |
|
256 @scope private |
|
257 --> |
|
258 <property name="database.file" location="${basedir}/build/database.xml"/> |
|
259 <!-- Directory where CCM operations will be performed. |
|
260 @type string |
|
261 --> |
198 <property name="ccm.base.dir" location="${ccm.home.dir}\${minor.version}"/> |
262 <property name="ccm.base.dir" location="${ccm.home.dir}\${minor.version}"/> |
|
263 <!-- This is the directory where the build area is prepared. Once created it is substed to the build.drive. |
|
264 @type string |
|
265 @scope private |
|
266 --> |
199 <property name="prep.build.dir" location="${prep.root.dir}/${build.id}"/> |
267 <property name="prep.build.dir" location="${prep.root.dir}/${build.id}"/> |
|
268 <!-- This is the directory where build output is placed. |
|
269 @type string |
|
270 @scope private |
|
271 --> |
200 <property name="build.output.dir" location="${build.drive}/output"/> |
272 <property name="build.output.dir" location="${build.drive}/output"/> |
|
273 <!-- This is where the diamonds output XML files are stored. |
|
274 @type string |
|
275 @scope private |
|
276 --> |
|
277 <property name="diamonds.build.output.dir" location="${build.output.dir}/diamonds"/> |
|
278 <!-- This is the directory where sisfiles are placed. |
|
279 @type string |
|
280 @scope private |
|
281 --> |
201 <property name="build.sisfiles.dir" location="${build.output.dir}/sisfiles"/> |
282 <property name="build.sisfiles.dir" location="${build.output.dir}/sisfiles"/> |
|
283 <!-- This is the directory where build area is archived after the build has finished. |
|
284 @type string |
|
285 @scope private |
|
286 --> |
202 <property name="zips.build.dir" location="${build.output.dir}/build_area/engineering_english"/> |
287 <property name="zips.build.dir" location="${build.output.dir}/build_area/engineering_english"/> |
|
288 <!-- This is the directory where build area is archived after the localisation. |
|
289 @type string |
|
290 @scope private |
|
291 --> |
203 <property name="zips.loc.dir" location="${build.output.dir}/build_area/localised"/> |
292 <property name="zips.loc.dir" location="${build.output.dir}/build_area/localised"/> |
|
293 <!-- The directory where subcon zips are stored. |
|
294 @type string |
|
295 @scope private |
|
296 --> |
204 <property name="subcon.zips.dir" location="${build.output.dir}/build_area/subcon"/> |
297 <property name="subcon.zips.dir" location="${build.output.dir}/build_area/subcon"/> |
|
298 <!-- This is the directory where flash files are archived. |
|
299 @type string |
|
300 @scope private |
|
301 --> |
205 <property name="zips.flashfiles.dir" location="${build.output.dir}/zips_flashfiles"/> |
302 <property name="zips.flashfiles.dir" location="${build.output.dir}/zips_flashfiles"/> |
|
303 <!-- This is where the build logs are stored. |
|
304 @type string |
|
305 @scope private |
|
306 --> |
206 <property name="build.log.dir" location="${build.output.dir}/logs"/> |
307 <property name="build.log.dir" location="${build.output.dir}/logs"/> |
|
308 <!-- This is where the signal related files are stored. |
|
309 @type string |
|
310 @scope private |
|
311 --> |
207 <property name="build.signal.status.dir" location="${build.log.dir}/signals"/> |
312 <property name="build.signal.status.dir" location="${build.log.dir}/signals"/> |
208 <property name="build.status.email.template" location="${helium.dir}/tools/common/templates/log/email_status.html.ftl" /> |
313 <!-- 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 |
209 <property name="metadata.dbfile" location="${build.log.dir}/${build.id}_metadata.sqlite"/> |
314 @type string |
|
315 --> |
|
316 <property name="build.status.email.template" location="${helium.dir}/tools/common/templates/log/email_status_orm.html.ftl" /> |
|
317 <!-- Location of build metadata database. |
|
318 @type string |
|
319 @scope private |
|
320 --> |
|
321 <condition property="metadata.dbfile" value="${build.log.dir}/${build.id}_metadata_db" else="${build.log.dir}/${build.id}${env.PID}_metadata_db"> |
|
322 <isset property="build.number"/> |
|
323 </condition> |
|
324 |
|
325 <!-- Directory to store temporary files generated during the process. |
|
326 @type string |
|
327 @scope private |
|
328 --> |
210 <property name="temp.build.dir" location="${build.output.dir}/temp_build_files"/> |
329 <property name="temp.build.dir" location="${build.output.dir}/temp_build_files"/> |
|
330 <!-- failonerror attribute for exec |
|
331 @type boolean |
|
332 @scope private |
|
333 --> |
211 <property name="failonerror" value="false"/> |
334 <property name="failonerror" value="false"/> |
|
335 <!-- Maximum allowable errors in a build. |
|
336 @type number |
|
337 --> |
212 <property name="build.errors.limit" value="0"/> |
338 <property name="build.errors.limit" value="0"/> |
|
339 <!-- 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. |
|
340 @type string |
|
341 --> |
213 <property name="unsubst.after.build" value="no"/> |
342 <property name="unsubst.after.build" value="no"/> |
|
343 <!-- display warnings at build startup if required properties are not defined. |
|
344 @type string |
|
345 @scope private |
|
346 --> |
214 <property name="validate.properties.at.startup" value="yes"/> |
347 <property name="validate.properties.at.startup" value="yes"/> |
|
348 <!-- A unique name for the WA Sources ZIP file. |
|
349 @type string |
|
350 @scope private |
|
351 --> |
215 <property name="zip.wa.file" value="${build.drive}/output/src/${build.id}_sources.zip"/> |
352 <property name="zip.wa.file" value="${build.drive}/output/src/${build.id}_sources.zip"/> |
|
353 <!-- The location and name of the target times log file. Default value is: ${build.log.dir}/${build.id}_targetTimesLog.csv |
|
354 @type string |
|
355 --> |
|
356 <property name="target.times.log.file" value="${build.log.dir}/${build.id}_targetTimesLog.csv"/> |
216 |
357 |
217 <!-- Cache related properties. --> |
358 <!-- Cache related properties. --> |
|
359 <!-- Directory where Helium can store files on a temporary basis for a user per build. |
|
360 @type string |
|
361 @scope private |
|
362 --> |
218 <property name="build.cache.dir" location="${cache.dir}/${build.id}"/> |
363 <property name="build.cache.dir" location="${cache.dir}/${build.id}"/> |
|
364 <!-- Directory where Helium can store log files on a temporary basis for a user per build. |
|
365 @type string |
|
366 @scope private |
|
367 --> |
219 <property name="build.cache.log.dir" location="${build.cache.dir}/logs"/> |
368 <property name="build.cache.log.dir" location="${build.cache.dir}/logs"/> |
220 <mkdir dir="${build.cache.log.dir}"/> |
369 <mkdir dir="${build.cache.log.dir}"/> |
221 |
370 |
|
371 <!-- Path location for the memory tracing data captured by the TracingLogger. |
|
372 @type string |
|
373 @scope private |
|
374 --> |
222 <property name="tracing.csv.file" location="${build.cache.dir}/logs/${build.id}_traces.csv"/> |
375 <property name="tracing.csv.file" location="${build.cache.dir}/logs/${build.id}_traces.csv"/> |
223 |
376 |
224 <!-- Publish dir configuration. Defines subdir first and next toplevel properties. --> |
377 <!-- Publish dir configuration. Defines subdir first and next toplevel properties. --> |
|
378 <!-- Subdir part of the publish dir, relative to publish.root.dir |
|
379 @type string |
|
380 --> |
225 <property name="publish.subdir" value="${build.name}/builds/${core.build.version}/${build.id}"/> |
381 <property name="publish.subdir" value="${build.name}/builds/${core.build.version}/${build.id}"/> |
|
382 <!-- Subdir part of the publish release dir, relative to publish.root.dir |
|
383 @type string |
|
384 @scope private |
|
385 --> |
226 <property name="publish.release.subdir" value="${build.name}/releases/${core.build.version}/${build.id}"/> |
386 <property name="publish.release.subdir" value="${build.name}/releases/${core.build.version}/${build.id}"/> |
|
387 <!-- Directory where the build is published (includes build.id) |
|
388 @type string |
|
389 --> |
227 <property name="publish.dir" location="${publish.root.dir}/${publish.subdir}"/> |
390 <property name="publish.dir" location="${publish.root.dir}/${publish.subdir}"/> |
|
391 <!-- The directory where the release of this build is published to on the local network. |
|
392 @type string |
|
393 @scope private |
|
394 --> |
228 <property name="publish.release.dir" location="${publish.root.dir}/${publish.release.subdir}"/> |
395 <property name="publish.release.dir" location="${publish.root.dir}/${publish.release.subdir}"/> |
229 <condition property="is.published" else="false"> |
396 <condition property="is.published" else="false"> |
230 <isset property="publish"/> |
397 <isset property="publish"/> |
231 </condition> |
398 </condition> |
232 |
399 |
|
400 <!-- The directory where flash images of build can be found |
|
401 @type string |
|
402 @scope private |
|
403 --> |
233 <property name="release.images.dir" value="${build.output.dir}/release_flash_images"/> |
404 <property name="release.images.dir" value="${build.output.dir}/release_flash_images"/> |
|
405 <!-- Defines location of binaries created in build. Used in check-capability target while generating capability scan report. |
|
406 @type string |
|
407 @scope private |
|
408 --> |
234 <property name="binary.root" value="${build.drive}/epoc32/release/armv5/urel" /> |
409 <property name="binary.root" value="${build.drive}/epoc32/release/armv5/urel" /> |
235 <property name="python.dir" value="${helium.dir}/external/python/lib/2.5"/> |
410 <!-- Location of python library |
|
411 @type string |
|
412 @scope private |
|
413 --> |
|
414 <property name="python.dir" value="${helium.dir}/external/python/lib"/> |
|
415 <!-- @type string |
|
416 @scope private |
|
417 --> |
236 <property name="python.tools" value="${helium.dir}/external/python/bin"/> |
418 <property name="python.tools" value="${helium.dir}/external/python/bin"/> |
237 |
419 |
238 <!-- EBS is selected as the default build system, but ec for Electric Cloud could be used. --> |
420 <!-- EBS is selected as the default build system, but ec for Electric Cloud could be used. --> |
|
421 <!-- This specifies which build system is used. Default for this is ebs You can use ec for Electric Cloud.. |
|
422 @type string |
|
423 --> |
239 <property name="build.system" value="ebs"/> |
424 <property name="build.system" value="ebs"/> |
|
425 <!-- Path for the output XML file generated by genxml used as input to EBS or EC. |
|
426 @type string |
|
427 @scope private |
|
428 --> |
240 <property name="genxml.output.file" location="${temp.build.dir}/${build.id}.${sysdef.configuration}.xml" /> |
429 <property name="genxml.output.file" location="${temp.build.dir}/${build.id}.${sysdef.configuration}.xml" /> |
|
430 <!-- The path of the generated canonical System Definition file that contains all the input System Definition file content. |
|
431 @type string |
|
432 @scope private |
|
433 --> |
241 <property name="canonical.sysdef.file" value="${build.output.dir}/build/canonical_system_definition.xml"/> |
434 <property name="canonical.sysdef.file" value="${build.output.dir}/build/canonical_system_definition.xml"/> |
|
435 <!-- @type string |
|
436 @scope private |
|
437 --> |
242 <property name="build.system.${build.system}" value="Not used"/> |
438 <property name="build.system.${build.system}" value="Not used"/> |
|
439 <!-- This is the file where build summary is stored. |
|
440 @type string |
|
441 @scope private |
|
442 --> |
243 <property name="build.summary.file" location="${build.log.dir}/summary/${build.id}_summary.log.xml"/> |
443 <property name="build.summary.file" location="${build.log.dir}/summary/${build.id}_summary.log.xml"/> |
244 <property name="error.summary.file" location="${build.log.dir}/summary/${build.id}_error_summary.log.xml"/> |
444 <property name="error.summary.file" location="${build.log.dir}/summary/${build.id}_error_summary.log.xml"/> |
245 <property name="build.logging.start.stage" value="check-env-prep"/> |
445 <!-- Defines name of the log file. |
246 <property name="build.logging.key.stages" value="prep,build-ebs-main,postbuild,flashfiles,java-certification-rom,zip-main,publish-generic,variants-core,variants-elaf,variants-china,variants-thai,variants-japan,variants,mobilecrash-prep,localise-tutorial-content,hdd-images,zip-flashfiles,zip-localisation,data-packaging-prep"/> |
446 @type string |
247 <property name="build.log" value="${build.log.dir}/${build.id}_ant_build.log"/> |
447 @scope private |
248 <property name="overlays.log.file" location="${build.log.dir}/${build.id}_overlays.xml"/> |
448 --> |
|
449 <property name="build.log" value="${build.log.dir}/${build.id}_main.ant.log"/> |
|
450 <!-- Diamonds Configuration file with full path used for diamonds listener. |
|
451 @type string |
|
452 --> |
249 <property name="diamonds.listener.configuration.file" location="${helium.dir}/config/diamonds_config.xml.ftl"/> |
453 <property name="diamonds.listener.configuration.file" location="${helium.dir}/config/diamonds_config.xml.ftl"/> |
|
454 <!-- Path where ant XML files dynamically downloaded from jar file. |
|
455 @type string |
|
456 @scope private |
|
457 --> |
250 <property name="antlib.import.module.path" location="${helium.dir}/tools/hlm-antlib-imports"/> |
458 <property name="antlib.import.module.path" location="${helium.dir}/tools/hlm-antlib-imports"/> |
251 |
459 |
252 <!-- Following are temporarily defined here until global tools available--> |
460 <!-- Following are temporarily defined here until global tools available--> |
253 <property name="ec.scripts.dir" location="${helium.dir}/external/symbiantools/ectools/"/> |
461 <!-- This specifies the directory where Electric Cloud history files are stored. Currently defined in helium.ant.xml and mapped related to publish.root.dir |
|
462 @type string |
|
463 @scope private |
|
464 --> |
254 <property name="ec.history.dir" location="${publish.root.dir}\${product.family}\ec_history"/> |
465 <property name="ec.history.dir" location="${publish.root.dir}\${product.family}\ec_history"/> |
255 <property name="ec.tools.dir" location="${helium.dir}/external/symbiantools/ectools/tools/"/> |
466 <!-- Version of build |
|
467 @type string |
|
468 --> |
256 <property name="release.label" value="${build.version}"/> |
469 <property name="release.label" value="${build.version}"/> |
|
470 <!-- mode is either serial / parallel - default is parallel |
|
471 @type string |
|
472 --> |
257 <property name="ec.mode" value="parallel" /> |
473 <property name="ec.mode" value="parallel" /> |
|
474 <!-- Setting this to "1" will force xml2mak to generate only warnings (instead of errors) for duplicate components in the component list |
|
475 @type string |
|
476 @scope private |
|
477 --> |
258 <property name="ec.allow.duplicates" value="0" /> |
478 <property name="ec.allow.duplicates" value="0" /> |
259 <property name="roms.spec.name" value=""/> |
479 <!-- Defines log file where to record archiving of engineering english area. |
|
480 @type string |
|
481 @scope private |
|
482 --> |
260 <property name="zip.ee.log.file" location="${build.log.dir}/${build.id}_ee_zip.log" /> |
483 <property name="zip.ee.log.file" location="${build.log.dir}/${build.id}_ee_zip.log" /> |
|
484 <!-- The path to the localization zipping log file. |
|
485 @type string |
|
486 @scope private |
|
487 --> |
261 <property name="zip.localised.log.file" location="${build.log.dir}/${build.id}_localised_zip.log" /> |
488 <property name="zip.localised.log.file" location="${build.log.dir}/${build.id}_localised_zip.log" /> |
|
489 <!-- Defines log file where to record archiving of subcon environment. |
|
490 @type string |
|
491 @scope private |
|
492 --> |
262 <property name="zip.subcon.log.file" value="${build.log.dir}/${build.id}_subcon_zip.log" /> |
493 <property name="zip.subcon.log.file" value="${build.log.dir}/${build.id}_subcon_zip.log" /> |
|
494 <!-- The log file name for zipping subcon_roms. |
|
495 @type string |
|
496 @scope private |
|
497 --> |
263 <property name="zip.subcon_roms.log.file" location="${build.log.dir}/${build.id}_subcon_roms_zip.log" /> |
498 <property name="zip.subcon_roms.log.file" location="${build.log.dir}/${build.id}_subcon_roms_zip.log" /> |
|
499 <!-- The log file name for zipping trace_roms. |
|
500 @type string |
|
501 @scope private |
|
502 --> |
264 <property name="zip.trace_roms.log.file" location="${build.log.dir}/${build.id}_trace_roms_zip.log" /> |
503 <property name="zip.trace_roms.log.file" location="${build.log.dir}/${build.id}_trace_roms_zip.log" /> |
265 <property name="zip.uda_roms.log.file" location="${build.log.dir}/${build.id}_uda_roms_zip.log" /> |
504 <!-- target to be executed in case of exceptions (mainly to generate the summary and raise signal). |
266 <property name="rombuild.makefile.name" value="image_conf_helium.mk" /> |
505 @type string |
267 <property name="loc.temp.dir" location="${temp.build.dir}/locfiles"/> |
506 @scope private |
268 <property name="loc.output.dir" location="${build.output.dir}/build_area/localised"/> |
507 --> |
269 <property name="loc.output.filename" location="${build.id}_locfiles.zip"/> |
508 <property name="exceptions.target" value="hlm-exception-handler"/> |
270 |
509 <!-- The tools dependencies Ivy settings configuration file. |
|
510 @type string |
|
511 --> |
271 <property name="tools.ivy.config.file" location="${helium.dir}/config/ivy/tools_ivy_settings.xml" /> |
512 <property name="tools.ivy.config.file" location="${helium.dir}/config/ivy/tools_ivy_settings.xml" /> |
272 |
513 |
273 <property name="build.property.cache.file" location="${build.log.dir}/build_properties_cache.txt" /> |
514 <!-- A file where persistent properties for a build should be stored. |
|
515 @type string |
|
516 @scope private |
|
517 --> |
|
518 <property name="build.property.cache.file" location="${diamonds.build.output.dir}/build_properties_cache.txt" /> |
|
519 <!-- The path for the Python script to handle the ccm task bridge to the ccm.py module. |
|
520 @type string |
|
521 @scope private |
|
522 --> |
274 <property name="ccmtask.python.script.file" location="${helium.dir}/tools/preparation/synergy/ccmtask.jep" /> |
523 <property name="ccmtask.python.script.file" location="${helium.dir}/tools/preparation/synergy/ccmtask.jep" /> |
|
524 <!-- Level of ant logging. |
|
525 @type string |
|
526 --> |
|
527 <property name="ant.loglevel" value="verbose"/> |
275 |
528 |
276 <if> |
529 <if> |
277 <available file="${build.property.cache.file}"/> |
530 <available file="${build.property.cache.file}"/> |
278 <then> |
531 <then> |
279 <property file="${build.property.cache.file}"/> |
532 <property file="${build.property.cache.file}"/> |
280 </then> |
533 </then> |
281 </if> |
534 </if> |
282 |
535 |
283 |
|
284 |
536 |
285 <!-- Default number of threads is 2 * NUMBER_OF_PROCESSORS, but this can be overridden by defining the |
537 <!-- Default number of threads is 2 * NUMBER_OF_PROCESSORS, but this can be overridden by defining the |
286 property manually. --> |
538 property manually. --> |
287 <if> |
539 <if> |
288 <not> |
540 <not> |
311 <import file="tools/preparation/preparation.ant.xml"/> |
581 <import file="tools/preparation/preparation.ant.xml"/> |
312 <import file="tools/common/common.ant.xml"/> |
582 <import file="tools/common/common.ant.xml"/> |
313 <import file="tools/common/testing.ant.xml"/> |
583 <import file="tools/common/testing.ant.xml"/> |
314 <import file="tools/compile/compile.ant.xml"/> |
584 <import file="tools/compile/compile.ant.xml"/> |
315 <import file="tools/common/docs.ant.xml"/> |
585 <import file="tools/common/docs.ant.xml"/> |
|
586 <import file="tools/common/helium_docs.ant.xml"/> |
316 <import file="tools/localisation/localisation.ant.xml"/> |
587 <import file="tools/localisation/localisation.ant.xml"/> |
|
588 <import file="tools/logging/logging.ant.xml"/> |
317 <import file="tools/publish/publish.ant.xml"/> |
589 <import file="tools/publish/publish.ant.xml"/> |
318 <import file="tools/metadata/metadata.ant.xml"/> |
590 <import file="tools/metadata/metadata.ant.xml"/> |
319 <import file="tools/release/release.ant.xml"/> |
591 <import file="tools/release/release.ant.xml"/> |
320 <import file="tools/rombuild/rombuild.ant.xml"/> |
592 <import file="tools/rombuild/rombuild.ant.xml"/> |
321 <import file="tools/uda/uda.ant.xml"/> |
|
322 <import file="tools/quality/quality.ant.xml"/> |
593 <import file="tools/quality/quality.ant.xml"/> |
323 <import file="tools/relnotes/relnotes.ant.xml"/> |
594 <import file="tools/relnotes/relnotes.ant.xml"/> |
324 <import file="tools/integration/integration.ant.xml"/> |
595 <import file="tools/integration/integration.ant.xml"/> |
325 <import file="tools/startup/antserver/remote.ant.xml" /> |
596 <import file="tools/startup/antserver/remote.ant.xml" /> |
326 <import file="tools/testing/testing.ant.xml" /> |
597 <import file="tools/testing/testing.ant.xml" /> |
327 <import file="tools/startup/bootstrap/bootstrap.ant.xml"/> |
598 <import file="tools/startup/bootstrap/bootstrap.ant.xml"/> |
328 <import file="tools/iad/iad.ant.xml"/> |
599 <import file="tools/iad/iad.ant.xml"/> |
329 <import file="config/signaling_config_default.ant.xml"/> |
600 <import file="config/signaling_config_default.ant.xml"/> |
|
601 <import file="config/stages_config_default.ant.xml"/> |
330 <import file="config/metadata_filter_config_default.ant.xml"/> |
602 <import file="config/metadata_filter_config_default.ant.xml"/> |
331 |
603 |
332 <!-- Checking required properties from datamodel if "validate.properties.at.startup=yes" |
|
333 |
|
334 Comment this out until it is done more correctly.--> |
|
335 <!--<if> |
|
336 <and> |
|
337 <isset property="validate.properties.at.startup"/> |
|
338 <equals arg1="${validate.properties.at.startup}" arg2="yes"/> |
|
339 </and> |
|
340 <then> |
|
341 <runtarget target="validate-at-startup"/> |
|
342 </then> |
|
343 </if>--> |
|
344 |
604 |
345 <!-- Top level build execution targets. |
605 <!-- Top level build execution targets. |
346 |
606 |
347 All of these should simply depend on other targets. They should not contain any tasks. |
607 All of these should simply depend on other targets. They should not contain any tasks. |
348 --> |
608 --> |
349 |
609 |
350 <!-- Top-level target for platform builds. --> |
610 <!-- Top-level target for platform builds. --> |
351 <target name="platform-build" |
611 <target name="platform-build" |
352 depends="prep,prebuild,compile-main,postbuild,ee-roms,zip-ee,publish-generic, |
612 depends="prep,prebuild,compile-main,postbuild,build-roms,zip-ee,publish-generic, |
353 report,final" |
613 report,final" |
354 description="The default platform build"/> |
614 description="The default platform build"/> |
355 |
615 |
356 <!-- Top-level target for IBUSAL builds. --> |
616 <!-- Top-level target for IBUSAL builds. --> |
357 <target name="ibusal-build" |
617 <target name="ibusal-build" |