--- a/common/build.xml Fri Aug 27 17:52:32 2010 +0100
+++ b/common/build.xml Tue Aug 31 15:28:38 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 Tue Aug 31 15:28:38 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>