buildframework/helium/sf/java/diamonds/tests/config/diamonds_config.xml.ftl
author wbernard
Wed, 16 Jun 2010 16:51:40 +0300
changeset 588 c7c26511138f
parent 587 85df38eb4012
permissions -rw-r--r--
helium-10.0.0-bc45d50958fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
<!-- 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
============================================================================ 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
Name        : diamonds_config.xml 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
Part of     : Helium 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
Description:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
============================================================================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
<configuration>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
<config>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
    <output-dir path="${ant['diamonds.output.dir']}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
    <template-dir path="${ant['diamonds.template.dir']}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
    <property name="smtpserver" value="email.smtp.server" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
    <property name="ldapserver" value="email.ldap.server" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
    <property name="initialiser-target-name" value="diamonds" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    31
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
    <server>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
        <property name="host" value="diamonds.host" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
        <property name="port" value="diamonds.port" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
        <property name="path" value="diamonds.path" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    36
        <property name="tstampformat" value="yyyy-MM-dd'T'HH:mm:ss" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
        <property name="mail" value="diamonds.mail" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
        <property name="category-property" value="build.family" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
        <property name="buildid-property" value="diamonds.build.id" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
    </server>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    41
</config>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
<logger>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    43
    <stages>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    44
            <!-- verifying basic stage input -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    45
            <stage name="pre-build" start="version" end="version" />
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    46
            <stage name="test-echo-operation" 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    47
                start="test-echo-operation" end="test-echo-operation" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    48
            <stage name="test-echo-operation1" 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    49
                start="test-echo-operation1" end="test-echo-operation1" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    50
            <stage name="test-echo-operation2" 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    51
                start="test-echo-operation2" end="test-echo-operation2" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    52
            <stage name="test-echo-operation3" 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    53
                start="test-echo-operation3" end="test-echo-operation3" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    54
            <stage name="test-echo-operation4" 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    55
                start="test-echo-operation4" end="test-echo-operation4" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    56
            <stage name="test-echo-operation5" 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    57
                start="test-echo-operation5" end="test-echo-operation5" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    58
            <!-- verifying basic stage input with input xml file-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    59
            <stage name="build" start="compile-target" end="compile-target"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    60
                logfile="${ant['compile.log.input']}"/>
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    61
            <stage name="stage-sequence-1" start="test-buildid-set" end="test-version"
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    62
                />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    63
            <stage name="stage-sequence-2" start="test-buildid-set" end="test-defer-type"
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
    64
                />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    65
    </stages>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    66
    <targets>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    67
        <target name="codescanner" template-file="codescanner.xml.ftl"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    68
            logfile="${ant['codescanner.log.input']}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    69
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    70
        <!-- if no logfile provided, looks for xml file to send 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    71
            using <build.id_target_name.xml> file or<target_name.xml> file, 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    72
            if both doesn't exists does nothing. tries to pass ant properties
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    73
            and sends it.-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    74
            
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    75
        <target name="create-bom-log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    76
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    77
    <!-- Test the defer case -->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    78
        <target name="defer-type" template-file="tool.xml.ftl" 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    79
            ant-properties="true" defer="true"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    80
    </targets>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    81
</logger>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    82
</configuration>