buildframework/helium/tools/compile/sbs/sbs.ant.xml
author raptorbot
Mon, 26 Apr 2010 09:44:21 +0100
changeset 442 a0f5dc257779
parent 217 0f5e3a7fb6af
child 587 85df38eb4012
permissions -rw-r--r--
Remove redundant head.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     2
<!-- 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     3
============================================================================ 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     4
Name        : sbs.ant.xml 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     5
Part of     : Helium 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     6
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     8
All rights reserved.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     9
This component and the accompanying materials are made available
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    11
which accompanies this distribution, and is available
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    13
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    14
Initial Contributors:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    16
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    17
Contributors:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    18
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    19
Description:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    20
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    21
============================================================================
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    22
-->
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
    23
<!--* @package compile -->
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    24
<project name="compile.sbs" xmlns:hlm="http://www.nokia.com/helium">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    25
    <description>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    26
    Executes compilation of a System Model of System Definition file using Symbian SBS (Raptor) tools. 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    27
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    28
    Should not be called directly but through compile-main by setting ${build.system.sbs} property.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    29
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    30
    Example:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    31
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    32
    hlm -Dsysdef.configurations.list=ALL -Dbuild.system=sbs compile-main
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    33
    hlm "-Dsysdef.configurations.list=REALLYCLEAN,ALL" -Dbuild.system=sbs compile-main
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    34
    </description>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    35
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    36
    <!-- Executes compilation  of a System Model of System Definition file using Symbian SBS (Raptor) tools. 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    37
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    38
    Should not be called directly but through compile-main by setting ${build.system.sbs} property.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    39
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    40
    Example: 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    41
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    42
    hlm -Dsysdef.configurations.list=ALL -Dbuild.system=sbs compile-main
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    43
    hlm "-Dsysdef.configurations.list=REALLYCLEAN,ALL" -Dbuild.system=sbs compile-main
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    44
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    45
    -->
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    46
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
    47
    <!-- skip sbs layer filtering (true) for new schema and false for schema 1.4.0
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
    48
    @type boolean
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
    49
    -->
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    50
    <property name="skip.sbs.layer.generation" value="false" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    51
    
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    52
    <!-- This target filters the canonical system definition file compare to the "raptor_${sysdef.configuration}" filter. -->
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    53
    <macrodef name="generate-layers" uri="http://www.nokia.com/helium">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    54
        <sequential>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    55
            <echo message="canno-file:${canonical.sysdef.file}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    56
            <echo message="raptor-filters:raptor_${sysdef.configuration}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    57
            <if>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    58
                <istrue value="${skip.sbs.layer.generation}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    59
                <then>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    60
                    <copy file="${canonical.sysdef.file}" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    61
                </then>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    62
                <else>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    63
                    <hlm:compileGenxmlFilterMacro input="${canonical.sysdef.file}" filter="raptor_${sysdef.configuration}"
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    64
                        output="${build.output.dir}/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    65
                </else>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    66
            </if>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    67
            <copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    68
                    tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    69
                <filterchain>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    70
                    <linecontainsregexp negate="true">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    71
                        <regexp pattern="^\s*$"/>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    72
                    </linecontainsregexp>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    73
                </filterchain>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    74
            </copy>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    75
            <delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    76
        </sequential>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    77
    </macrodef>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    78
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    79
    <!-- SBS build with gmake as engine type. Default is using sbs macro, to use old implementation to
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    80
    use using exec task, then sbs.using.exec needs to be set. -->
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    81
    <target name="compile-sbs" description="This is the main build that gets built for ARMV5 and WINSCW platforms">
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    82
        <!-- only temporary once config file option starts to work, then no 
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    83
        need to copy the plugin file -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    84
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    85
        <if>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    86
            <or>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    87
                <equals arg1="${build.system}" arg2="sbs" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    88
                <equals arg1="${build.system}" arg2="sbs-ec" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    89
            </or>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    90
            <then>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    91
                <echo message="Copying helium filter plugin to sbs home" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    92
                <copy file="${helium.dir}/tools/common/python/scripts/filter_metadatalog.py" todir="${env.SBS_HOME}/python/plugins/" failonerror="true" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    93
                <copy file="${helium.dir}/tools/common/python/scripts/sbsscanlogmetadata.py" todir="${env.SBS_HOME}/python/plugins/" failonerror="true" />
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    94
                <echo message="sbs.patternset: ${sbs.patternset}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    95
                <hlm:generate-layers />
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
    96
                <var name="sbs.internal.inputs.list" value="" unset="true"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
    97
                <if>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
    98
                    <istrue value="${schema.new}" />
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
    99
                    <then>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   100
                        <var name="sbs.internal.inputs.list" value="${sbs.inputs.list}"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   101
                    </then>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   102
                    <else>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   103
                        <var name="sbs.internal.inputs.list" value="" unset="true"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   104
                        <hlm:getsbsinputs config="sbs.${sysdef.configuration}" outputProperty="sbs.internal.inputs.list"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   105
                    </else>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   106
                </if>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   107
                <for list="${sbs.internal.inputs.list}" delimiter="," param="sbs.input">
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   108
                    <sequential>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   109
                        <echo message="building raptor input: @{sbs.input}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   110
                        <hlm:getVariableValue name="--logfile" property="sbs.log.file">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   111
                            <hlm:sbsinput refid="@{sbs.input}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   112
                        </hlm:getVariableValue>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   113
                        <!-- run arm license checking / setting arm version only for arm config -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   114
                        <hlm:getVariableValue name="-c" property="compilevalue.var" failOnerror="false">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   115
                            <hlm:sbsinput refid="@{sbs.input}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   116
                        </hlm:getVariableValue>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   117
                        <echo message="config parameter -c : ${compilevalue.var}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   118
                        <if>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   119
                            <and>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   120
                                <isset property="compilevalue.var"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   121
                                <matches string="${compilevalue.var}" pattern="arm.*"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   122
                            </and>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   123
                            <then>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   124
                                <runtarget target="set-arm-version"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   125
                            </then>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   126
                        </if>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   127
                        <var name="sbs.clean.log" value="${sbs.log.file}.clean.log"/>
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   128
                        <var name="sbs.what.log" value="${sbs.log.file}.whatlog.log"/>
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   129
                        <!-- Generate the filtered layers -->
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   130
                        <if>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   131
                            <isset property="run.coverity"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   132
                            <then>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   133
                                <hlm:coveritybuild  sbsinput="@{sbs.input}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   134
                                                    sysdeffile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   135
                                                    layerpatternsetref="${sbs.patternset}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   136
                                                    workingdir="${build.drive}/" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   137
                                                    execute="true"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   138
                                                    failonerror="false"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   139
                                                    outputlog="${sbs.log.file}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   140
                                                    cleanlog = "${sbs.clean.log}"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   141
                                                    whatlog = "${sbs.what.log}"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   142
                                                    erroroutput="${sbs.log.file}.sbs_error.log"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   143
                                                    statslog="${sbs.log.file}.info.xml">
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   144
                                    <hlm:coverityoptions refid="coverity.build.options"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   145
                                </hlm:coveritybuild>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   146
                            </then>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   147
                            <elseif>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   148
                                <istrue value="${sbs.build.ctc}"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   149
                                <then>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   150
                                    <hlm:ctctask sbsinput="@{sbs.input}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   151
                                                    sysdefFile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   152
                                                    layerPatternSetRef="${sbs.patternset}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   153
                                                    errorOutput="${sbs.log.file}.sbs_error.log" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   154
                                                    workingDir="${build.drive}/" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   155
                                                    failOnError="false" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   156
                                                    outputLog="${sbs.log.file}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   157
                                                    cleanLog = "${sbs.clean.log}"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   158
                                                    whatlog = "${sbs.what.log}"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   159
                                                    statsLog="${sbs.log.file}.info.xml" />                                
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   160
                                </then>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   161
                            </elseif>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   162
                            <else>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   163
                                <hlm:sbstask sbsinput="@{sbs.input}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   164
                                                sysdefFile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   165
                                                layerPatternSetRef="${sbs.patternset}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   166
                                                errorOutput="${sbs.log.file}.sbs_error.log" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   167
                                                workingDir="${build.drive}/" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   168
                                                failOnError="false" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   169
                                                outputLog="${sbs.log.file}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   170
                                                cleanLog = "${sbs.clean.log}"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   171
                                                whatlog = "${sbs.what.log}"
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   172
                                                statsLog="${sbs.log.file}.info.xml" />
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   173
                            </else>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   174
                        </if>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   175
                        <hlm:assertFileExists file="${sbs.log.file}"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   176
                        <hlm:assertFileExists file="${sbs.clean.log}"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   177
                        <hlm:assertFileExists file="${sbs.what.log}"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   178
                        <hlm:assertFileExists file="${sbs.log.file}.sbs_error.log"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   179
                        <hlm:assertFileExists file="${sbs.log.file}.info.xml"/>
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   180
                        <!-- run arm license checking / setting arm version only for arm config --> 
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   181
                        <echo message="sbs.log.file: ${sbs.log.file}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   182
                        <hlm:sbsProcessOutputMacro sbs.log.file="${sbs.log.file}"
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   183
                            sbs.clean.log.file="${sbs.clean.log}" sbs.what.log.file="${sbs.what.log}" 
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   184
                            sbs.stats.file="${sbs.log.file}.info.xml"
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   185
                            sbs.ant.output.file="${sbs.log.file}" sbs.error.output.file="${sbs.log.file}.sbs_error.log"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   186
                    </sequential>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   187
                </for>
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   188
            </then>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   189
        </if>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   190
    </target>
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   191
    
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   192
    
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   193
    <macrodef name="sbsProcessOutputMacro" uri="http://www.nokia.com/helium">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   194
        <attribute name="sbs.clean.log.file" />
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   195
        <attribute name="sbs.what.log.file" />
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   196
        <attribute name="sbs.log.file" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   197
        <attribute name="sbs.stats.file" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   198
        <attribute name="sbs.error.output.file" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   199
        <attribute name="sbs.ant.output.file" />
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   200
        <sequential>
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   201
            <var name="sbs.scan2.template" value="scan2_orm.html.ftl" />
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   202
            <var name="base.sbs.log" value="" unset="true"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   203
            <basename property="base.sbs.log" file="@{sbs.log.file}" />
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   204
            <echo message="base.sbs.log: ${base.sbs.log}" />
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   205
            <hlm:metadatarecord database="${metadata.dbfile}">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   206
                <hlm:textmetadatainput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   207
                    <fileset casesensitive="false" file="@{sbs.error.output.file}"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   208
                    <metadatafilterset refid="filterset.sbs" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   209
                </hlm:textmetadatainput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   210
            </hlm:metadatarecord>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   211
            <basename property="base.sbs.ant.output.log" file="@{sbs.ant.output.file}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   212
            <hlm:signalMacro logfile="@{sbs.error.output.file}" 
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   213
                signal.input="raptorErrorSignalInput" phase="compile"/>
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   214
            <!-- update the resultes to database -->
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   215
            <echo message="Metadata enabled, storing build status in database" />
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   216
            <echo message="sbs log file :@{sbs.log.file}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   217
            <echo message="sbs.clean.log.file :@{sbs.clean.log.file}" />
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   218
            <echo message="sbs.what.log.file :@{sbs.what.log.file}" />
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   219
            <trycatch property="hlm-sbs.parser.thrown">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   220
                <try>
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   221
                    <hlm:metadatarecord  database="${metadata.dbfile}">
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   222
                        <hlm:sbsmetadatainput whatLogFile="@{sbs.what.log.file}" cleanLogFile="@{sbs.clean.log.file}">
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   223
                            <fileset casesensitive="false" file="@{sbs.log.file}"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   224
                            <metadatafilterset refid="filterset.sbs" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   225
                        </hlm:sbsmetadatainput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   226
                    </hlm:metadatarecord>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   227
                </try>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   228
                <catch>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   229
                    <if>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   230
                        <istrue value="${skip.sbs.parser.exception}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   231
                        <then>
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   232
                            <var name="sbs.scan2.template" value="scan2_text_orm.html.ftl" />
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   233
                            <hlm:metadatadelete database="${metadata.dbfile}">
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   234
                                <fileset casesensitive="false" file="@{sbs.log.file}"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   235
                            </hlm:metadatadelete>
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   236
                            <hlm:metadatarecord database="${metadata.dbfile}" >
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   237
                                <hlm:textmetadatainput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   238
                                    <fileset casesensitive="false" file="@{sbs.log.file}"/>
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   239
                                    <metadatafilterset refid="filterset.sbs" />
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   240
                                </hlm:textmetadatainput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   241
                            </hlm:metadatarecord>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   242
                        </then>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   243
                        <else>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   244
                            <fail message="failed during raptor log parsing: might be due to invalid xml output from raptor" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   245
                        </else>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   246
                    </if>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   247
                </catch>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   248
            </trycatch>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   249
            <fmpp sourceFile="${helium.dir}/tools/common/templates/log/${sbs.scan2.template}"
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   250
                         outputfile="${build.log.dir}/${base.sbs.log}.scan2.html">
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   251
                <freemarkerLinks expandProperties="yes">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   252
                    macro: ${helium.dir}/tools/common/templates/macro
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   253
                </freemarkerLinks>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   254
                <data expandProperties="yes">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   255
                    dbPath: ${metadata.dbfile}
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   256
                    doc: xml(@{sbs.stats.file})
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   257
                    whatLogPath: @{sbs.what.log.file}
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   258
                    ant: antProperties()
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   259
                </data>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   260
            </fmpp>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   261
            <echo message="generating signal" />
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   262
            <hlm:assertFileExists file="${build.log.dir}/${base.sbs.log}.scan2.html"/>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   263
            <hlm:compileLogSignalMacro compile.summary.file="@{sbs.log.file}" 
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   264
                error.limit="${build.errors.limit}" phase="compile"/>
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   265
            <!-- Blocks packaging configuration generation. -->
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   266
            <if>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   267
                <istrue value="${blocks.enabled}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   268
                <then>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   269
                    <mkdir dir="${blocks.config.dir}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   270
                    <exec executable="python">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   271
                        <arg value="-m"/>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   272
                        <arg value="packager.cli"/>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   273
                        <arg value="--epocroot=${build.drive}/" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   274
                        <arg value="--config=${blocks.config.dir}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   275
                        <arg value="--datasource=sbs" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   276
                        <arg value="-Dsbslog=${sbs.log.file}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   277
                        <arg value="-Dsysdef=${canonical.sysdef.file}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   278
                        <arg value="-Dthreads=20" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   279
                        <arg value="--updateData" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   280
                    </exec>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   281
                </then>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   282
            </if>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   283
        </sequential>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   284
    </macrodef>
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   285
    
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   286
    <scriptdef language="jython" name="getSbsHome" uri="http://www.nokia.com/helium">
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   287
        <attribute name="property" />
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   288
if attributes.get("property") is None:
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   289
    raise Exception("property attribute has not been set.")
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   290
if project.getProperty(attributes.get("property")) is None:
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   291
    import symbian.raptor
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   292
    sbs_home = symbian.raptor.getSBSHome()
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   293
    if sbs_home is not None:
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   294
        #self.log("Found SBS_HOME as " + sbs_home)
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   295
        project.setNewProperty(attributes.get("property"), sbs_home)
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   296
    </scriptdef>
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 179
diff changeset
   297
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   298
</project>