build.xml
author Dario Sestito <darios@symbian.org>
Mon, 27 Jul 2009 14:25:36 +0100
changeset 325 779cc88ed845
parent 20 19748fd5a5d0
child 338 473fefd9c5de
permissions -rw-r--r--
Allow subprojects within a project repo and model file relative to the subproject dir
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"/>
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
     9
  
779cc88ed845 Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents: 20
diff changeset
    10
  <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
    11
    <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
    12
  </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
    13
  <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
    14
  <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
    15
  <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
    16
  <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
    17
  <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
    18
  <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
    19
  <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
    20
     
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
    21
  <!-- import job properties -->
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
    22
  <import file="${sf.project.location}/${sf.project.name}_props.ant.xml" optional="yes"/>
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    23
  
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
    24
  <!-- import project properties/targets/references -->
2
b55de085507d Update and add build.sysdef.xml
shaberazvi@L063442.prod.ad.symbian.intra
parents: 1
diff changeset
    25
  <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
    26
  
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
    27
  <!-- 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
    28
  <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
    29
  
2
b55de085507d Update and add build.sysdef.xml
shaberazvi@L063442.prod.ad.symbian.intra
parents: 1
diff changeset
    30
</project>