<?xml version="1.0" encoding="UTF-8"?>
<!-- 
============================================================================ 
Name        : stages_config.xml 
Part of     : Helium 

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".

Initial Contributors:
Nokia Corporation - initial contribution.

Contributors:

Description:

============================================================================
-->
<project name="stages-config" xmlns:hlm="http://www.nokia.com/helium">
    <description>
    Definitions of helium stages. 
    </description>
    
    <taskdef resource="com/nokia/helium/logger/ant/antlib.xml" uri="http://www.nokia.com/helium" />
    
    <!-- Build Stage Summary configuration -->
    <!-- Comment out below line to skip displaying build stage summary at end of build process -->
    <hlm:stagesummary id="stage.summary" template="${helium.dir}\tools\common\templates\log\build_stages_summary.txt.ftl" />
    
     <!-- Stages configuration -->
    <hlm:stage id="preparation" starttarget="prep" endtarget="prep"/>
    <hlm:stage id="compilation" starttarget="compile-main" endtarget="compile-main"/>
    <hlm:stage id="romcreation" starttarget="build-roms" endtarget="build-roms"/>
    <hlm:stage id="test" starttarget="run-test" endtarget="run-test"/>
    <hlm:stage id="localisation" starttarget="localisation" endtarget="localisation"/>
    <hlm:stage id="postbuild" starttarget="publish" endtarget="publish"/>
    
    
    <!-- Stage record configuration -->
    <hlm:stagerecord id="stage.default" defaultoutput="${build.log}" loglevel="${ant.loglevel}" append="false"/>
       
    <hlm:stagerecord id="stage.preparation" stagerefid="preparation" output="${build.log.dir}/${build.id}_prep.ant.log" loglevel="info" append="true"/>
    
    <hlm:stagerecord id="stage.compilation" stagerefid="compilation" output="${build.log.dir}/${build.id}_compile.ant.log" loglevel="info" append="true"/>
    
    <hlm:stagerecord id="stage.romcreation" stagerefid="romcreation" output="${build.log.dir}/${build.id}_roms.ant.log" loglevel="info" append="true"/>
    
    <hlm:stagerecord id="stage.test" stagerefid="test" output="${build.log.dir}/${build.id}_test.ant.log" loglevel="info" append="true"/>
    
    <hlm:stagerecord id="stage.localisation" stagerefid="localisation" output="${build.log.dir}/${build.id}_localisation.ant.log" loglevel="info" append="true"/>
    
    <hlm:stagerecord id="stage.postbuild" stagerefid="postbuild" output="${build.log.dir}/${build.id}_postbuild.ant.log" loglevel="info" append="true"/>
    
    
</project>
