common/diamonds/config.xml.ftl
changeset 199 7bcb8b1ad9a6
child 319 257557b39754
equal deleted inserted replaced
198:4b1e939c052c 199:7bcb8b1ad9a6
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!-- 
       
     3 Copyright (c) 2009 Symbian Foundation Ltd
       
     4 This component and the accompanying materials are made available
       
     5 under the terms of the License "Eclipse Public License v1.0"
       
     6 which accompanies this distribution, and is available
       
     7 at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 
       
     9 Initial Contributors:
       
    10 Symbian Foundation Ltd - initial contribution.
       
    11 
       
    12 Contributors:
       
    13 
       
    14 Description:
       
    15 Diamonds configuration template
       
    16 -->
       
    17 <configuration>
       
    18 <config>
       
    19     <template-dir path="${ant['helium.dir']}/tools/common/templates/diamonds"/>
       
    20     <output-dir path="${ant['build.log.dir']}"/>
       
    21     <property name="smtpserver" value="email.smtp.server" />
       
    22     <property name="ldapserver" value="email.ldap.server" />
       
    23     <property name="initialiser-target-name" value="diamonds" />
       
    24     <server>
       
    25         <property name="host" value="diamonds.host" />
       
    26         <property name="port" value="diamonds.port" />
       
    27         <property name="path" value="diamonds.path" />
       
    28         <property name="tstampformat" value="yyyy-MM-dd'T'HH:mm:ss" />
       
    29         <property name="mail" value="diamonds.mail" />
       
    30         <property name="category-property" value="build.family" />
       
    31         <property name="buildid-property" value="diamonds.build.id" />
       
    32     </server>
       
    33 </config>
       
    34 <logger>
       
    35     <stages>
       
    36         <stage name="pre-build" start="prep" end="prebuild" />
       
    37         <stage name="build" start="compile-main" end="compile-main" />
       
    38         <stage name="post-build" start="postbuild" end="zip-localised" />
       
    39         <stage name="release" start="publish-variants" end="final" />
       
    40     </stages>
       
    41     <targets>
       
    42         <target name="diamonds" template-file="tool.xml.ftl" 
       
    43             logfile="${ant['temp.build.dir']}/build/doc/ivy/tool-dependencies-${ant['build.type']}.xml" ant-properties="true"/>        
       
    44         
       
    45         <!-- note: replaced by sf-run-analysis -->
       
    46         <!-- target name="compile-main" template-file="compile.xml.ftl"
       
    47             logfile="${ant['diamonds.compile.summary']}" ant-properties="true"/ -->
       
    48                     
       
    49         <target name="ido-codescanner" template-file="codescanner.xml.ftl"
       
    50             logfile="${ant['ido.codescanner.output.dir']}/problemIndex.xml"/>
       
    51 
       
    52         <!-- if no logfile provided, looks for xml file to send 
       
    53             using <build.id_target_name.xml> file or<target_name.xml> file, 
       
    54             if both doesn't exists does nothing. tries to pass ant properties
       
    55             and sends it.-->
       
    56             
       
    57         <target name="create-bom"/>
       
    58 
       
    59         <target name="rndsdk-create-api-descr-xml" template-file="apimetrics.xml.ftl"
       
    60             logfile="${ant['build.drive']}/output/apidescr/apidescr.xml"/>
       
    61             
       
    62         <#if (ant?keys?seq_contains('validate.policy.log'))>
       
    63         <target name="render-validate-policy" template-file="validate-policy-log.xml.ftl" 
       
    64             logfile="${ant['validate.policy.log']}"/>
       
    65         </#if>
       
    66 
       
    67         <!-- defer will store all the converted output file and sends only if there any other
       
    68             stage / target starts to send some data to diamonds -->
       
    69         <target name="check-tool-dependencies" template-file="tool.xml.ftl" 
       
    70             logfile="${ant['temp.build.dir']}/build/doc/ivy/tool-dependencies-${ant['build.type']}.xml" ant-properties="true"
       
    71             defer="true"/>
       
    72             
       
    73         <!-- SF specific -->
       
    74         <target name="sf-diamondize-bom"/>
       
    75         <target name="sf-run-analysis"/>
       
    76     </targets>
       
    77 </logger>
       
    78 </configuration>