|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 ============================================================================ |
|
4 Name : diamonds_config_default.ant.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 <project name="diamonds-default-config" xmlns:hlm="http://www.nokia.com/helium"> |
|
24 |
|
25 <property name="diamonds.output.dir" value="${diamonds.build.output.dir}" /> |
|
26 <property name="diamonds.smtp.server" value="${email.smtp.server}" /> |
|
27 <property name="diamonds.ldap.server" value="${email.ldap.server}" /> |
|
28 <property name="diamonds.initializer.targetname" value="diamonds" /> |
|
29 <property name="diamonds.tstamp.format" value="yyyy-MM-dd'T'HH:mm:ss" /> |
|
30 <property name="diamonds.category" value="${build.family}" /> |
|
31 |
|
32 <hlm:fmppMessage id="initial.message" sourceFile="${helium.dir}/tools/common/templates/diamonds/diamonds_start.xml.ftl"> |
|
33 <data expandProperties="yes"> |
|
34 ant: antProperties() |
|
35 </data> |
|
36 </hlm:fmppMessage> |
|
37 |
|
38 <hlm:fmppMessage id="final.message" sourceFile="${helium.dir}/tools/common/templates/diamonds/diamonds_finish.xml.ftl"> |
|
39 <data expandProperties="yes"> |
|
40 ant: antProperties() |
|
41 </data> |
|
42 </hlm:fmppMessage> |
|
43 |
|
44 <hlm:fmppMessage id="diamonds.signal.message" sourceFile="${helium.dir}/tools/common/templates/diamonds/diamonds_signal.xml.ftl"> |
|
45 <data expandProperties="yes"> |
|
46 ant: antProperties() |
|
47 </data> |
|
48 </hlm:fmppMessage> |
|
49 |
|
50 <hlm:fmppMessage id="diamonds.status.message" sourceFile="${helium.dir}/tools/common/templates/diamonds/diamonds_status.xml.ftl"> |
|
51 <data expandProperties="yes"> |
|
52 ant: antProperties() |
|
53 </data> |
|
54 </hlm:fmppMessage> |
|
55 |
|
56 <hlm:fmppMessage id="stage.time.message" sourceFile="${helium.dir}/tools/common/templates/diamonds/diamonds_stage.xml.ftl"> |
|
57 <data expandProperties="yes"> |
|
58 ant: antProperties() |
|
59 </data> |
|
60 </hlm:fmppMessage> |
|
61 |
|
62 <hlm:targetMessageTrigger id="log-environment.id" target="log-environment"> |
|
63 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/tool.xml.ftl"> |
|
64 <data expandProperties="yes"> |
|
65 ant: antProperties() |
|
66 doc: xml(${build.log.dir}/${build.id}_environment.xml) |
|
67 </data> |
|
68 </hlm:fmppMessage> |
|
69 </hlm:targetMessageTrigger> |
|
70 |
|
71 <hlm:targetMessageTrigger id="compile-main.id" target="compile-main"> |
|
72 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/faults_metadata_orm.ftl"> |
|
73 <data expandProperties="yes"> |
|
74 dbPath: ${metadata.dbfile} |
|
75 ant: antProperties() |
|
76 </data> |
|
77 </hlm:fmppMessage> |
|
78 </hlm:targetMessageTrigger> |
|
79 |
|
80 <hlm:targetMessageTrigger id="sbs-checksource.id" target="sbs-checksource"> |
|
81 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/sbs-checksource_fmpp.xml.ftl"> |
|
82 <data expandProperties="yes"> |
|
83 dbPath: ${metadata.dbfile} |
|
84 ant: antProperties() |
|
85 </data> |
|
86 </hlm:fmppMessage> |
|
87 </hlm:targetMessageTrigger> |
|
88 |
|
89 <hlm:targetMessageTrigger id="build-roms.id" target="build-roms"> |
|
90 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/build_roms_diamonds.xml.ftl"> |
|
91 <data expandProperties="yes"> |
|
92 dbPath: ${metadata.dbfile} |
|
93 ant: antProperties() |
|
94 </data> |
|
95 </hlm:fmppMessage> |
|
96 </hlm:targetMessageTrigger> |
|
97 |
|
98 <hlm:targetMessageTrigger id="codescanner.id" target="ido-codescanner"> |
|
99 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/codescanner.xml.ftl"> |
|
100 <data expandProperties="yes"> |
|
101 ant: antProperties() |
|
102 doc: xml(${ido.codescanner.output.dir}/problemIndex.xml) |
|
103 </data> |
|
104 </hlm:fmppMessage> |
|
105 </hlm:targetMessageTrigger> |
|
106 |
|
107 <hlm:targetMessageTrigger id="create-bom.id" target="create-bom"> |
|
108 <hlm:fileMessage file="${diamonds.build.output.dir}/create-bom.xml" /> |
|
109 </hlm:targetMessageTrigger> |
|
110 |
|
111 <hlm:targetMessageTrigger id="post-coverity.id" target="post-coverity" > |
|
112 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/coverity.xml.ftl"> |
|
113 <data expandProperties="yes"> |
|
114 ant: antProperties() |
|
115 doc: xml(${diamonds.coverity.report.file}) |
|
116 </data> |
|
117 </hlm:fmppMessage> |
|
118 </hlm:targetMessageTrigger> |
|
119 |
|
120 <hlm:targetMessageTrigger id="ido-validate-confml.id" target="ido-validate-confml"> |
|
121 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/confml-validate.xml.ftl"> |
|
122 <data expandProperties="yes"> |
|
123 ant: antProperties() |
|
124 doc: xml(${build.drive}/output/logs/post/${build.id}_validate_confml.xml) |
|
125 </data> |
|
126 </hlm:fmppMessage> |
|
127 </hlm:targetMessageTrigger> |
|
128 |
|
129 <hlm:targetMessageTrigger id="rndsdk-create-api-descr-xml.id" target="rndsdk-create-api-descr-xml"> |
|
130 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/apimetrics.xml.ftl"> |
|
131 <data expandProperties="yes"> |
|
132 ant: antProperties() |
|
133 doc: xml(${build.drive}/output/apidescr/apidescr.xml) |
|
134 </data> |
|
135 </hlm:fmppMessage> |
|
136 </hlm:targetMessageTrigger> |
|
137 |
|
138 <hlm:targetMessageTrigger id="render-validate-policy.id" target="render-validate-policy" > |
|
139 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/validate-policy-log.xml.ftl"> |
|
140 <data expandProperties="yes"> |
|
141 ant: antProperties() |
|
142 doc: xml(${validate.policy.log}) |
|
143 </data> |
|
144 </hlm:fmppMessage> |
|
145 </hlm:targetMessageTrigger> |
|
146 |
|
147 |
|
148 <hlm:targetMessageTrigger id="cmt-generate-diamond-summary.id" target="cmt-generate-diamond-summary"> |
|
149 <hlm:fileMessage file="${diamonds.build.output.dir}/cmt_summary.xml" /> |
|
150 </hlm:targetMessageTrigger> |
|
151 |
|
152 <hlm:targetMessageTrigger id="iad-check-pkg-version.id" target="iad-check-pkg-version" > |
|
153 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/iad-check-pkg-version_fmpp.xml.ftl"> |
|
154 <data expandProperties="yes"> |
|
155 dbPath: ${metadata.dbfile} |
|
156 ant: antProperties() |
|
157 </data> |
|
158 </hlm:fmppMessage> |
|
159 </hlm:targetMessageTrigger> |
|
160 |
|
161 <hlm:targetMessageTrigger id="check-tool-dependencies.id" target="check-tool-dependencies"> |
|
162 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/tool.xml.ftl"> |
|
163 <data expandProperties="yes"> |
|
164 ant: antProperties() |
|
165 doc: xml(${build.drive}/build/doc/ivy/tool-dependencies-${build.type}.xml) |
|
166 </data> |
|
167 </hlm:fmppMessage> |
|
168 </hlm:targetMessageTrigger> |
|
169 |
|
170 <!-- the rendering target should import the templates manually and use single fmpp call, |
|
171 but currently it is not doing it. So using a file message to send data to diamonds.--> |
|
172 <hlm:targetMessageTrigger id="ca-generate-diamond-summary.id" target="ca-generate-diamond-summary"> |
|
173 <hlm:fileMessage file="${diamonds.build.output.dir}/ca_summary_library.xml" /> |
|
174 <hlm:fileMessage file="${diamonds.build.output.dir}/ca_summary_header.xml" /> |
|
175 </hlm:targetMessageTrigger> |
|
176 |
|
177 <hlm:targetMessageTrigger id="publish.id" target="publish"> |
|
178 <hlm:fmppMessage sourceFile="${helium.dir}/tools/common/templates/diamonds/publish.xml.ftl"> |
|
179 <data expandProperties="yes"> |
|
180 ant: antProperties() |
|
181 </data> |
|
182 </hlm:fmppMessage> |
|
183 </hlm:targetMessageTrigger> |
|
184 |
|
185 </project> |