common/build.xml
author ShabeR@UK-SHABER
Tue, 07 Apr 2009 14:19:51 +0100
changeset 36 af82fccdcb75
parent 30 62563fa42f57
child 37 00208f982d58
child 41 f137ddbb714d
permissions -rw-r--r--
Remove platform.properties as properties are no longer loaded this way.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     2
<project name="SF-COMMON-CONFIG">
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     3
13
046dbf1ae2da Progress in moving old vars to new formats
dejianmeng@d070750.prod.ad.symbian.intra
parents: 11
diff changeset
     4
    <property environment="env"/> <!-- make environment variables available via env -->
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
     5
    
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
     6
    <dirname property="sf.common.config.dir" file="${ant.file.SF-COMMON-CONFIG}"/>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
     7
    
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
     8
    <!-- import common properties -->
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
     9
    <import file="${sf.common.config.dir}/common_props.ant.xml" />
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    10
    
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    11
    <!-- setup Helium internal properties from their equivalent in the project spec -->
30
62563fa42f57 name, codeline, number
dariosestito@L063522.prod.ad.symbian.intra
parents: 29
diff changeset
    12
    <property name="build.name" value="${sf.spec.job.name}"/>
62563fa42f57 name, codeline, number
dariosestito@L063522.prod.ad.symbian.intra
parents: 29
diff changeset
    13
    <property name="core.build.version" value="${sf.spec.job.codeline}"/>
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    14
    <property name="build.number" value="${sf.spec.job.number}"/>
29
eb008692e822 Job drive defaults to G: and job number defaults to 0
dariosestito@L063522.prod.ad.symbian.intra
parents: 28
diff changeset
    15
    <property name="build.drive" value="${sf.spec.job.drive}"/>
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    16
    <property name="build.family" value="${sf.project.type}"/>
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    17
    <property name="email.from" value="${sf.spec.email.from}"/>
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    18
    <property name="local.free.space" value="${sf.spec.job.freespace}"/>
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    19
    <property name="network.free.space" value="${sf.spec.publish.network.freespace}"/>
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    20
    <property name="network.drive" value="${sf.spec.publish.networkdrive}"/>
28
3d263295af67 Changed default rootdir and made it be used
dariosestito@L063522.prod.ad.symbian.intra
parents: 27
diff changeset
    21
    <property name="prep.root.dir" value="${sf.spec.job.rootdir}"/>
26
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
    22
    <property name="publish" value="${sf.spec.publish.enable}"/>
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
    23
    <property name="publish.root.dir" value="${sf.spec.publish.rootdir}"/>
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    24
    <property name="build.system" value="${sf.spec.build.system}"/>
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    25
    <property name="base_release.path" value="${sf.spec.baseline.location}"/>
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    26
    <property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/>
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    27
    
23
cde62357aba5 Moved back the override
dariosestito@L063522.prod.ad.symbian.intra
parents: 22
diff changeset
    28
    <!-- import all core HELIUM targets -->
cde62357aba5 Moved back the override
dariosestito@L063522.prod.ad.symbian.intra
parents: 22
diff changeset
    29
    <import file="${helium.dir}/helium.ant.xml" />
cde62357aba5 Moved back the override
dariosestito@L063522.prod.ad.symbian.intra
parents: 22
diff changeset
    30
    
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    31
    <!-- import common references -->
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
    32
    <import file="${sf.common.config.dir}/common_refs.ant.xml" />
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    33
             
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    34
    <!-- conditional import of generated source spec if available -->
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    35
    <if><available  file="${sf.common.config.dir}/generated/source-spec.ant.xml" />
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    36
        <then>		    		
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    37
            <echo message="Generated source spec found, importing..." />
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    38
    				<import file="${sf.common.config.dir}/generated/source-spec.ant.xml"/>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    39
    		</then>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    40
    </if>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    41
    
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    42
    <!--
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    43
    ** TARGET DEFINITIONS
9
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    44
    -->   
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    45
    
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    46
    <target name="sf-prep" depends="sf-generate-source-spec, prep-drive,init-build-area,check-tool-dependencies,create-bom,log-build-env">
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    47
        <echo>[SF-PREP]</echo>
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    48
        <tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/>
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    49
    </target>
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    50
        
9
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    51
    <target name="sf-build-all" depends="sf-prebuild,sf-build-noprep,sf-postbuild">
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    52
        <echo>[SF-BUILD-ALL]</echo>
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    53
    </target>
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    54
    
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    55
    <target name="sf-build" depends="sf-prep,sf-prebuild,sf-build-noprep,sf-postbuild">
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    56
        <echo>[SF-BUILD]</echo>
29394d95b3e1 Merge all changes
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 8 6
diff changeset
    57
    </target>
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    58
    
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    59
    <target name="sf-parse-project-config">
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    60
    <!-- TODO: Parse the project config and generate properties and csv file to be
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    61
    used by the builds. -->
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    62
        <echo message="Parse the project configuration" />
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    63
    </target>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    64
    
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    65
    <target name="sf-generate-source-spec" depends="sf-parse-project-config">
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    66
        <!-- TODO: 1. Same file name souce-spec.ant.xml is used for all packages
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    67
        for multiple package builds, this needs to be linked with package name. -->
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    68
        <!-- TODO: 2. Change fmpp data to be a full property rather than relative path -->
6
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    69
        
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    70
        <fmpp sourceFile="${sf.common.config.dir}/templates/source-spec.ant.xml.ftl"
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    71
              outputFile="${sf.common.config.dir}/generated/source-spec.ant.xml">
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    72
              <data expandProperties="yes">
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    73
                    ant: antProperties()
14
d40c87fa5c20 Restore properties.default.ant.xml and allow projec spec to be configurable
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 13
diff changeset
    74
                    data: csv(${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}, {separator:','})
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    75
              </data>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    76
        </fmpp>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    77
    </target>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    78
    
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    79
    <target name="sf-prebuild">
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    80
        <echo>[SF-PREBUILD]</echo>
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    81
        
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    82
        <if>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    83
            <istrue value="${sf.spec.baseline.enable}" />
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    84
            <then>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    85
                <runtarget target="preparation-getenv"/>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    86
            </then>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    87
        </if>
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    88
        
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    89
        <if>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    90
            <istrue value="${sf.spec.sourcesync.enable}" />
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    91
            <then>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    92
                <runtarget target="sf-get-source"/>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    93
            </then>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    94
        </if>     
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    95
    </target>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
    96
    
26
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
    97
  <target name="sf-postbuild">
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
    98
    <echo>[SF-POSTBUILD]</echo>
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
    99
    <runtarget target="publish"/>
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
   100
    <if>
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
   101
      <istrue value="${sf.spec.publish.enable}" />
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
   102
      <then>
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
   103
        <echo message="Publish log files and reports to ${sf.spec.publish.rootdir}"/>
25
393f5234e12c Added publishing stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 24
diff changeset
   104
        <runtarget target="publish"/>
26
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
   105
      </then>
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
   106
    </if>
50f9c55550f1 Added publishing of logs and reports
dariosestito@L063522.prod.ad.symbian.intra
parents: 25
diff changeset
   107
  </target>
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   108
    
8
b7bfb0cc6f4a Remove duplicate sync and rename sf-build-run to correct sf-build-noprep target
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 7
diff changeset
   109
    <target name="sf-build-noprep" depends="sf-compile">
b7bfb0cc6f4a Remove duplicate sync and rename sf-build-run to correct sf-build-noprep target
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 7
diff changeset
   110
        <echo>[SF-BUILD-NOPREP]</echo>
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   111
    </target>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   112
    
24
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   113
    <target name="create-canonical-sysdef-file">
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   114
      <if>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   115
        <istrue value="${sf.spec.systemdefinition.assemble}"/>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   116
        <then>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   117
          <echo message="Calling Helium create-canonical-sysdef-file target to assemble sysdef fragments."/>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   118
          <runtarget target="compile.create-canonical-sysdef-file"/>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   119
        </then>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   120
        <else>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   121
          <echo message="Will use ${build.drive}/${sf.spec.systemdefinition.location} as is as sysdef file"/>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   122
          <copy file="${build.drive}/${sf.spec.systemdefinition.location}" tofile="${build.drive}/output/build/canonical_system_definition.xml" failonerror="true" verbose="true"/>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   123
        </else>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   124
      </if>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   125
    </target>
1cdce57ae369 Enabled sf.spec.systemdefinition.assemble flag to control sysdef merge stage
dariosestito@L063522.prod.ad.symbian.intra
parents: 23
diff changeset
   126
    
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   127
    <target name="sf-compile">    
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   128
    
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   129
    	<!-- TODO: add here assigments to raptor-related ant references -->
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   130
 	
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   131
    	<!-- hlm:argSet id="sbs.tools.var">
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   132
			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   133
			<hlm:arg name="singlejob" value="..." />
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   134
			<hlm:arg name="enable-filter" value="..." />
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   135
		</hlm:argSet -->
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   136
    	
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   137
        <!-- target name="compile-main-prebuild" -->
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   138
        <antcall target="compile-main" inheritAll="false">
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   139
            <param name="build.system" value="${sf.spec.build.system}"/>
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   140
            <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
7
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   141
            <!--<reference refid="sf.system.definition.files" torefid="system.definition.files" />-->
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   142
        </antcall>    
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   143
    </target>
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   144
    
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   145
    <target name="sf-get-source" depends="sf-generate-source-spec">
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   146
        <ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" />
389e1e1f1583 Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 5
diff changeset
   147
    </target>
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 13
diff changeset
   148
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
   149
</project>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
   150
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
   151