build.xml
author MattD <mattd@symbian.org>
Mon, 08 Mar 2010 20:00:46 +0000
changeset 921 3118cfa874e0
parent 899 d80a65072ed8
child 926 86dabb8aa2dd
permissions -rw-r--r--
catchup merge.

<?xml version="1.0" encoding="UTF-8"?>
<project name="SF-CONFIG" xmlns:hlm="http://www.nokia.com/helium">
  <!-- location of this config -->
  <dirname property="sf.config.dir" file="${ant.file.SF-CONFIG}"/>
  
  <property name="sf.subproject.path" value=""/>
  <property name="sf.project.location" value="${sf.config.dir}/../build/config/${sf.subproject.path}"/>
  <property name="sf.project.name" value="job"/>
  
  <!-- import job properties -->
  <import file="${sf.project.location}/${sf.project.name}_props.ant.xml" optional="yes"/>
  
  <!-- Override Helium defaults to allow winscw builds without RVCT -->
  <target name="check-env-arm-license"/>
  <target name="get-arm-license"/>
  <target name="set-arm-version"/>
  
  <!-- set sf.spec.job.name and sf.spec.job.codeline if they are not specified in the project's job_props.ant.xml -->
  <path id="lib.path">
    <fileset dir="${helium.dir}/external/antlibs" includes="**/*.jar"/>
  </path>
  <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="lib.path"/>
  <propertyregex override="yes" property="jobname" input="${sf.subproject.path}" regexp=".*[\\/]([^\\^/]+)" replace="\1"/>
  <property name="jobname" value="${sf.subproject.path}"/>
  <propertyregex override="yes" property="codeline" input="${sf.subproject.path}" regexp="^([^\\^/]+)[\\/].*" replace="\1"/>
  <property name="codeline" value="default"/>
  <property name="sf.spec.job.name" value="${jobname}"/>
  <property name="sf.spec.job.codeline" value="${codeline}"/>
  
  <!-- override helium 7 defaults to operate like helium 5.
     *.log.dir props dont exist yet so need to be set now, otherwise they 
     become immutable after helium.ant.xml import -->
    
  <property name="prep.log.dir"    value="${build.drive}/output/logs"/>
  <property name="compile.log.dir" value="${build.drive}/output/logs"/>
  <property name="post.log.dir"    value="${build.drive}/output/logs"/>
  <property name="archive.log.dir"    value="${build.drive}/output/logs"/>
  <property name="signals.log.dir"    value="${build.drive}/output/logs"/>

  <!-- import project properties/targets/references -->
  <import file="sf-${sf.project.type}/build.xml" />
  
  <!-- import job references -->
  <import file="${sf.project.location}/${sf.project.name}_refs.ant.xml" optional="yes"/>
  
</project>