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