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