buildframework/helium/config/diamonds_config.xml.ftl
changeset 1 be27ed110b50
child 179 d8ac696cc51f
equal deleted inserted replaced
0:044383f39525 1:be27ed110b50
       
     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     <template-dir path="${ant['helium.dir']}/tools/common/templates/diamonds" />
       
    26     <output-dir path="${ant['build.log.dir']}"/>
       
    27     <property name="smtpserver" value="email.smtp.server" />
       
    28     <property name="ldapserver" value="email.ldap.server" />
       
    29     <property name="initialiser-target-name" value="diamonds" />
       
    30     <server>
       
    31         <property name="host" value="diamonds.host" />
       
    32         <property name="port" value="diamonds.port" />
       
    33         <property name="path" value="diamonds.path" />
       
    34         <property name="tstampformat" value="yyyy-MM-dd'T'HH:mm:ss" />
       
    35         <property name="mail" value="diamonds.mail" />
       
    36         <property name="category-property" value="build.family" />
       
    37         <property name="buildid-property" value="diamonds.build.id" />
       
    38     </server>
       
    39 </config>
       
    40 <logger>
       
    41     <stages>
       
    42         <stage name="pre-build" start="prep" end="prebuild" />
       
    43         <stage name="build" start="compile-main" end="compile-main" />
       
    44         <stage name="post-build" start="postbuild" end="zip-localised" />
       
    45         <stage name="release" start="publish-variants" end="final" />
       
    46     </stages>
       
    47     <targets>
       
    48         <target name="diamonds" template-file="tool.xml.ftl" 
       
    49             logfile="${ant['temp.build.dir']}/build/doc/ivy/tool-dependencies-${ant['build.type']}.xml" ant-properties="true"/>        
       
    50         <#if (ant?keys?seq_contains('metadata.enable'))>
       
    51             <target name="compile-main" />
       
    52         <#else>
       
    53             <target name="compile-main" template-file="compile.xml.ftl"
       
    54                 logfile="${ant['diamonds.compile.summary']}" ant-properties="true"/>
       
    55         </#if>
       
    56             
       
    57         <target name="ido-codescanner" template-file="codescanner.xml.ftl"
       
    58             logfile="${ant['ido.codescanner.output.dir']}/problemIndex.xml"/>
       
    59 
       
    60         <!-- if no logfile provided, looks for xml file to send 
       
    61             using <build.id_target_name.xml> file or<target_name.xml> file, 
       
    62             if both doesn't exists does nothing. tries to pass ant properties
       
    63             and sends it.-->
       
    64             
       
    65         <target name="create-bom"/>
       
    66 
       
    67         <target name="rndsdk-create-api-descr-xml" template-file="apimetrics.xml.ftl"
       
    68             logfile="${ant['build.drive']}/output/apidescr/apidescr.xml"/>
       
    69             
       
    70         <#if (ant?keys?seq_contains('validate.policy.log'))>
       
    71         <target name="render-validate-policy" template-file="validate-policy-log.xml.ftl" 
       
    72             logfile="${ant['validate.policy.log']}"/>
       
    73         </#if>
       
    74 
       
    75         <!-- defer will store all the converted output file and sends only if there any other
       
    76             stage / target starts to send some data to diamonds -->
       
    77         <target name="check-tool-dependencies" template-file="tool.xml.ftl" 
       
    78             logfile="${ant['temp.build.dir']}/build/doc/ivy/tool-dependencies-${ant['build.type']}.xml" ant-properties="true"
       
    79             defer="true"/>
       
    80     </targets>
       
    81 </logger>
       
    82 </configuration>