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['diamonds.build.output.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 |
|
51 <target name="compile-main" /> |
|
52 |
|
53 <target name="build-roms" /> |
|
54 |
|
55 <target name="ido-codescanner" template-file="codescanner.xml.ftl" |
|
56 logfile="${ant['ido.codescanner.output.dir']}/problemIndex.xml"/> |
|
57 |
|
58 <!-- if no logfile provided, looks for xml file to send |
|
59 using <build.id_target_name.xml> file or<target_name.xml> file, |
|
60 if both doesn't exists does nothing. tries to pass ant properties |
|
61 and sends it.--> |
|
62 |
|
63 <target name="create-bom"/> |
|
64 |
|
65 <target name="post-coverity" template-file="coverity.xml.ftl" |
|
66 logfile="${ant['diamonds.coverity.report.file']}"/> |
|
67 |
|
68 <target name="rndsdk-create-api-descr-xml" template-file="apimetrics.xml.ftl" |
|
69 logfile="${ant['build.drive']}/output/apidescr/apidescr.xml"/> |
|
70 |
|
71 <#if (ant?keys?seq_contains('validate.policy.log'))> |
|
72 <target name="render-validate-policy" template-file="validate-policy-log.xml.ftl" |
|
73 logfile="${ant['validate.policy.log']}"/> |
|
74 </#if> |
|
75 |
|
76 <!-- defer will store all the converted output file and sends only if there any other |
|
77 stage / target starts to send some data to diamonds --> |
|
78 <target name="check-tool-dependencies" template-file="tool.xml.ftl" |
|
79 logfile="${ant['temp.build.dir']}/build/doc/ivy/tool-dependencies-${ant['build.type']}.xml" ant-properties="true" |
|
80 defer="true"/> |
|
81 |
|
82 <target name="cmt-generate-diamond-summary"/> |
|
83 |
|
84 </targets> |
|
85 </logger> |
|
86 </configuration> |
|