buildframework/helium/config/diamonds_config.xml.ftl
branchwip
changeset 380 db59fc762214
parent 217 0f5e3a7fb6af
child 588 c7c26511138f
equal deleted inserted replaced
369:1248e8f6a72d 380:db59fc762214
    21 ============================================================================
    21 ============================================================================
    22 -->
    22 -->
    23 <configuration>
    23 <configuration>
    24 <config>
    24 <config>
    25     <template-dir path="${ant['helium.dir']}/tools/common/templates/diamonds" />
    25     <template-dir path="${ant['helium.dir']}/tools/common/templates/diamonds" />
    26     <output-dir path="${ant['build.log.dir']}"/>
    26     <output-dir path="${ant['diamonds.build.output.dir']}"/>
    27     <property name="smtpserver" value="email.smtp.server" />
    27     <property name="smtpserver" value="email.smtp.server" />
    28     <property name="ldapserver" value="email.ldap.server" />
    28     <property name="ldapserver" value="email.ldap.server" />
    29     <property name="initialiser-target-name" value="diamonds" />
    29     <property name="initialiser-target-name" value="diamonds" />
    30     <server>
    30     <server>
    31         <property name="host" value="diamonds.host" />
    31         <property name="host" value="diamonds.host" />
    45         <stage name="release" start="publish-variants" end="final" />
    45         <stage name="release" start="publish-variants" end="final" />
    46     </stages>
    46     </stages>
    47     <targets>
    47     <targets>
    48         <target name="diamonds" template-file="tool.xml.ftl" 
    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"/>        
    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'))>
    50 
    51             <target name="compile-main" />
    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             
    52             
    57         <target name="ido-codescanner" template-file="codescanner.xml.ftl"
    53         <target name="ido-codescanner" template-file="codescanner.xml.ftl"
    58             logfile="${ant['ido.codescanner.output.dir']}/problemIndex.xml"/>
    54             logfile="${ant['ido.codescanner.output.dir']}/problemIndex.xml"/>
    59 
    55 
    60         <!-- if no logfile provided, looks for xml file to send 
    56         <!-- if no logfile provided, looks for xml file to send 
    61             using <build.id_target_name.xml> file or<target_name.xml> file, 
    57             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
    58             if both doesn't exists does nothing. tries to pass ant properties
    63             and sends it.-->
    59             and sends it.-->
    64             
    60             
    65         <target name="create-bom"/>
    61         <target name="create-bom"/>
    66 
    62         
       
    63         <target name="post-coverity" template-file="coverity.xml.ftl"
       
    64             logfile="${ant['diamonds.coverity.report.file']}"/>
       
    65         
    67         <target name="rndsdk-create-api-descr-xml" template-file="apimetrics.xml.ftl"
    66         <target name="rndsdk-create-api-descr-xml" template-file="apimetrics.xml.ftl"
    68             logfile="${ant['build.drive']}/output/apidescr/apidescr.xml"/>
    67             logfile="${ant['build.drive']}/output/apidescr/apidescr.xml"/>
    69             
    68             
    70         <#if (ant?keys?seq_contains('validate.policy.log'))>
    69         <#if (ant?keys?seq_contains('validate.policy.log'))>
    71         <target name="render-validate-policy" template-file="validate-policy-log.xml.ftl" 
    70         <target name="render-validate-policy" template-file="validate-policy-log.xml.ftl"