build.xml
author MattD <mattd@symbian.org>
Mon, 08 Mar 2010 20:00:04 +0000
changeset 920 3f238c627274
parent 899 d80a65072ed8
child 926 86dabb8aa2dd
permissions -rw-r--r--
Packaging tools with the binaries.
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"?>
325
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
     2
<project name="SF-CONFIG" xmlns:hlm="http://www.nokia.com/helium">
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     3
  <!-- location of this config -->
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     4
  <dirname property="sf.config.dir" file="${ant.file.SF-CONFIG}"/>
325
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
     5
  
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
     6
  <property name="sf.subproject.path" value=""/>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
     7
  <property name="sf.project.location" value="${sf.config.dir}/../build/config/${sf.subproject.path}"/>
19
3bb3e0eff093 Catchup from Shabe's changes
dariosestito@L063522.prod.ad.symbian.intra
parents: 18 15
diff changeset
     8
  <property name="sf.project.name" value="job"/>
558
e103dd5a90d5 Skip armcc licence checking
Shabe Razvi <shaber@symbian.org>
parents: 338
diff changeset
     9
  
338
473fefd9c5de Set project name and codeline from subproject only if these properties are not found in project's job_props.ant.xml
Dario Sestito <darios@symbian.org>
parents: 325
diff changeset
    10
  <!-- import job properties -->
473fefd9c5de Set project name and codeline from subproject only if these properties are not found in project's job_props.ant.xml
Dario Sestito <darios@symbian.org>
parents: 325
diff changeset
    11
  <import file="${sf.project.location}/${sf.project.name}_props.ant.xml" optional="yes"/>
325
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    12
  
737
12fc0aa86db9 Override Helium defaults for RVCT checks to allow winscw builds without RVCT
Shabe Razvi <shaber@symbian.org>
parents: 698
diff changeset
    13
  <!-- Override Helium defaults to allow winscw builds without RVCT -->
12fc0aa86db9 Override Helium defaults for RVCT checks to allow winscw builds without RVCT
Shabe Razvi <shaber@symbian.org>
parents: 698
diff changeset
    14
  <target name="check-env-arm-license"/>
12fc0aa86db9 Override Helium defaults for RVCT checks to allow winscw builds without RVCT
Shabe Razvi <shaber@symbian.org>
parents: 698
diff changeset
    15
  <target name="get-arm-license"/>
12fc0aa86db9 Override Helium defaults for RVCT checks to allow winscw builds without RVCT
Shabe Razvi <shaber@symbian.org>
parents: 698
diff changeset
    16
  <target name="set-arm-version"/>
12fc0aa86db9 Override Helium defaults for RVCT checks to allow winscw builds without RVCT
Shabe Razvi <shaber@symbian.org>
parents: 698
diff changeset
    17
  
338
473fefd9c5de Set project name and codeline from subproject only if these properties are not found in project's job_props.ant.xml
Dario Sestito <darios@symbian.org>
parents: 325
diff changeset
    18
  <!-- set sf.spec.job.name and sf.spec.job.codeline if they are not specified in the project's job_props.ant.xml -->
325
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    19
  <path id="lib.path">
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    20
    <fileset dir="${helium.dir}/external/antlibs" includes="**/*.jar"/>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    21
  </path>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    22
  <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="lib.path"/>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    23
  <propertyregex override="yes" property="jobname" input="${sf.subproject.path}" regexp=".*[\\/]([^\\^/]+)" replace="\1"/>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    24
  <property name="jobname" value="${sf.subproject.path}"/>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    25
  <propertyregex override="yes" property="codeline" input="${sf.subproject.path}" regexp="^([^\\^/]+)[\\/].*" replace="\1"/>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    26
  <property name="codeline" value="default"/>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    27
  <property name="sf.spec.job.name" value="${jobname}"/>
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    28
  <property name="sf.spec.job.codeline" value="${codeline}"/>
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    29
  
899
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    30
  <!-- override helium 7 defaults to operate like helium 5.
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    31
     *.log.dir props dont exist yet so need to be set now, otherwise they 
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    32
     become immutable after helium.ant.xml import -->
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    33
    
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    34
  <property name="prep.log.dir"    value="${build.drive}/output/logs"/>
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    35
  <property name="compile.log.dir" value="${build.drive}/output/logs"/>
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    36
  <property name="post.log.dir"    value="${build.drive}/output/logs"/>
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    37
  <property name="archive.log.dir"    value="${build.drive}/output/logs"/>
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    38
  <property name="signals.log.dir"    value="${build.drive}/output/logs"/>
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 737
diff changeset
    39
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
    40
  <!-- import project properties/targets/references -->
2
b55de085507d Update and add build.sysdef.xml
shaberazvi@L063442.prod.ad.symbian.intra
parents: 1
diff changeset
    41
  <import file="sf-${sf.project.type}/build.xml" />
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    42
  
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
    43
  <!-- import job references -->
325
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    44
  <import file="${sf.project.location}/${sf.project.name}_refs.ant.xml" optional="yes"/>
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    45
  
2
b55de085507d Update and add build.sysdef.xml
shaberazvi@L063442.prod.ad.symbian.intra
parents: 1
diff changeset
    46
</project>