sf-package/build.xml
author Shabe Razvi <shaber@symbian.org>
Mon, 22 Jun 2009 16:50:47 +0100
changeset 212 216378ca9c25
parent 184 f50ee414b574
child 319 257557b39754
permissions -rw-r--r--
Export build-info.xml to BOM folder
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"?>
171
a6f2b8d175d0 The prefix "hlm" for element "hlm:argSet" was not bound.
dario
parents: 170
diff changeset
     2
<project name="SF-PACKAGE-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.package.config.dir" file="${ant.file.SF-PACKAGE-CONFIG}"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     5
  
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
     6
  <!-- import package properties -->
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
     7
  <import file="${sf.package.config.dir}/package_props.ant.xml" />
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     8
  
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
     9
  <!-- import common properties/targets/references -->
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
    10
  <import file="../common/build.xml" />
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    11
  
18
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
    12
  <!-- import package references -->
9f36ff790ea7 Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents: 11
diff changeset
    13
  <import file="${sf.package.config.dir}/package_refs.ant.xml" />
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    14
  
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    15
  <target name="sf-compile">
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    16
    <runtarget target="sf-package-compile"/>
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    17
  </target>
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    18
  
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    19
  <target name="sf-package-compile">
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    20
    
182
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    21
    <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/>
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    22
    <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/>
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    23
    
183
8025a9486931 Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents: 182
diff changeset
    24
    <!-- CLEAN -->
182
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    25
    <hlm:argSet id="sbs.main.clean.sbs.var">
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    26
      <hlm:arg name="config" value="${sf.spec.sbs.config}" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    27
      <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    28
      <hlm:arg name="command" value="CLEAN" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    29
    </hlm:argSet>
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    30
    <antcall target="compile-main" inheritAll="false" inheritRefs="true">
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    31
      <param name="build.system" value="${sf.spec.build.system}" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    32
      <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
177
734d44a79c17 Given a dummy value to the configuration list
dario
parents: 176
diff changeset
    33
      <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    34
      <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    35
      <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    36
      <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    37
      <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    38
    </antcall>
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    39
    
183
8025a9486931 Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents: 182
diff changeset
    40
    <!-- BUILD tools2 -->
182
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    41
    <hlm:argSet id="sbs.tools2.var">
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    42
      <hlm:arg name="config" value="tools2_rel" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    43
      <hlm:arg name="singlejob" value="false" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    44
      <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    45
    </hlm:argSet>
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    46
    <antcall target="compile-main" inheritAll="false" inheritRefs="true">
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    47
      <param name="build.system" value="${sf.spec.build.system}" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    48
      <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
177
734d44a79c17 Given a dummy value to the configuration list
dario
parents: 176
diff changeset
    49
      <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    50
      <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    51
      <reference refid="sbs.tools2.var" torefid="sbs.var" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    52
      <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    53
      <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    54
    </antcall>
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    55
    
183
8025a9486931 Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents: 182
diff changeset
    56
    <!-- BUILD tools -->
182
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    57
    <hlm:argSet id="sbs.tools.var">
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    58
      <hlm:arg name="config" value="tools_rel" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    59
      <hlm:arg name="singlejob" value="true" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    60
      <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    61
    </hlm:argSet>
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    62
    <antcall target="compile-main" inheritAll="false" inheritRefs="true">
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    63
      <param name="build.system" value="${sf.spec.build.system}" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    64
      <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
177
734d44a79c17 Given a dummy value to the configuration list
dario
parents: 176
diff changeset
    65
      <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    66
      <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    67
      <reference refid="sbs.tools.var" torefid="sbs.var" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    68
      <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    69
      <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    70
    </antcall>
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    71
    
183
8025a9486931 Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents: 182
diff changeset
    72
    <!-- BUILD -->
182
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    73
    <hlm:argSet id="sbs.main.sbs.var">
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    74
      <hlm:arg name="config" value="${sf.spec.sbs.config}.whatlog" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    75
      <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
c35952f24212 added whatlog and check
dario
parents: 178
diff changeset
    76
    </hlm:argSet>
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    77
    <antcall target="compile-main" inheritAll="false" inheritRefs="true">
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    78
      <param name="build.system" value="${sf.spec.build.system}" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    79
      <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
177
734d44a79c17 Given a dummy value to the configuration list
dario
parents: 176
diff changeset
    80
      <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    81
      <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    82
      <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    83
      <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    84
      <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    85
    </antcall>
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    86
    
183
8025a9486931 Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents: 182
diff changeset
    87
    <!-- CHECK -->
184
f50ee414b574 Reimplemented --check as the previous version didn't work (also most of the arguments are parameterized now)
dario
parents: 183
diff changeset
    88
    <exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log">
f50ee414b574 Reimplemented --check as the previous version didn't work (also most of the arguments are parameterized now)
dario
parents: 183
diff changeset
    89
      <arg value="/c sbs.bat -s ${build.drive}/output\build\canonical_system_definition_SF.xml -k -c ${sf.spec.sbs.config} -j 32 --check -m ${build.drive}/output\logs\build_check_Makefile"/>
f50ee414b574 Reimplemented --check as the previous version didn't work (also most of the arguments are parameterized now)
dario
parents: 183
diff changeset
    90
      <!-- argument of -j option can be parameterized with: ${number.of.threads} -->
183
8025a9486931 Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents: 182
diff changeset
    91
    </exec>
8025a9486931 Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents: 182
diff changeset
    92
    
170
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    93
  </target>
31922c5222d7 Changes to support clean check and avoid filtering the logs
dario
parents: 18
diff changeset
    94
  
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    95
</project>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    96