Merge He 9 Fix
authorChetan Kapoor <chetank@symbian.org>
Wed, 01 Sep 2010 14:58:37 +0100
changeset 1238 757339892a89
parent 1233 3df3f73a7802 (diff)
parent 1237 693573a22808 (current diff)
child 1243 72c1b027006d
Merge He 9 Fix
common/tools/ats/bctest/connpref/connpref.pl
common/tools/ats/bctest/connpref/connpref.xml
--- a/common/build.xml	Wed Sep 01 14:00:09 2010 +0100
+++ b/common/build.xml	Wed Sep 01 14:58:37 2010 +0100
@@ -126,11 +126,7 @@
           </hlm:signalInput>
 
           <!-- configure stages -->
-          <hlm:stage id="preparation" starttarget="sf-prebuild" endtarget="sf-prebuild"/>
-          <hlm:stage id="compilation" starttarget="sf-compile" endtarget="sf-compile"/>
-          <hlm:stage id="romcreation" starttarget="sf-build-roms" endtarget="sf-build-roms"/>
-          <hlm:stage id="postbuild" starttarget="sf-postbuild" endtarget="sf-postbuild"/>
-          
+          <import file="config/stages_config.ant.xml" />
       </then>
     </if>
     
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/config/stages_config.ant.xml	Wed Sep 01 14:58:37 2010 +0100
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="sf-stages-config" xmlns:hlm="http://www.nokia.com/helium">
+    <description>
+    Defines what build stages to log during an sf build and how each build stage is recorded.
+    </description>
+    
+    <!-- Stages configuration -->
+    <hlm:stage id="preparation" starttarget="sf-prebuild" endtarget="sf-prebuild"/>
+    <hlm:stage id="compilation" starttarget="sf-compile" endtarget="sf-compile"/>
+    <hlm:stage id="romcreation" starttarget="sf-build-roms" endtarget="sf-build-roms"/>
+    <hlm:stage id="postbuild" starttarget="sf-postbuild" endtarget="sf-postbuild"/>
+
+    <!-- helium 9+ compatibility -->
+    <propertyregex property="short.helium.version" input="${helium.version}" regexp="(\d+.?\d*)" select="\1" casesensitive="false" />
+    <if>
+        <isgreaterthan arg1="${short.helium.version}" arg2="8"/>
+    <then>   
+        <!-- Stage record configuration -->
+        <hlm:stagerecord id="stage.preparation" stagerefid="preparation" output="${build.log.dir}/${build.id}_prep.ant.log" />
+        <hlm:stagerecord id="stage.compilation"  stagerefid="compilation" output="${build.log.dir}/${build.id}_compile.ant.log" />
+        <hlm:stagerecord id="stage.romcreation"  stagerefid="romcreation" output="${build.log.dir}/${build.id}_romcreation.ant.log" />
+        <hlm:stagerecord id="stage.postbuild"  stagerefid="postbuild" output="${build.log.dir}/${build.id}_postbuild.ant.log" />
+    </then>
+    </if>
+    
+</project>