217
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!--
|
|
3 |
============================================================================
|
|
4 |
Name :
|
|
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 |
-->
|
628
|
23 |
<project name="minibuild.ido-sbs-coverity" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium" basedir="..\ido">
|
217
|
24 |
<property environment="env"/>
|
628
|
25 |
<!--property name="config.temp.build.dir" location="${ant.file.minibuild.ido-sbs}/../build"/ -->
|
|
26 |
|
|
27 |
<!-- Configuring raptor build system -->
|
|
28 |
<property name="build.system" value="sbs"/>
|
|
29 |
|
|
30 |
<!-- Configuring get latest env. -->
|
588
|
31 |
<property name="s60.grace.service" value="s60_devices_sw" />
|
|
32 |
<property name="s60.grace.product" value="DFS7x.92" />
|
|
33 |
<property name="s60.grace.release" value="92_\d{6}_hw79" />
|
217
|
34 |
|
645
|
35 |
<property name="sysdef3.enabled" value="true" />
|
|
36 |
<property name="codescanner.enabled" value="false" />
|
|
37 |
|
217
|
38 |
<!-- enable coverity -->
|
628
|
39 |
<property name="coverity.commit.defects.enabled" value="true"/>
|
|
40 |
<property name="coverity.defect.manager.server" value="ousrv057.europe.nokia.com"/>
|
|
41 |
<property name="coverity.defect.manager.port" value="5467"/>
|
|
42 |
<property name="coverity.defect.manager.product" value="S60-92-Vasko"/>
|
|
43 |
|
587
|
44 |
<property name="publish.ccm.folder" value="bh1test#310" />
|
217
|
45 |
|
628
|
46 |
<dirname property="ido.sbs.coverity.dir" file="${ant.file.minibuild.ido-sbs-coverity}"/>
|
|
47 |
<property name="prep.delivery.file" location="${ido.sbs.coverity.dir}/delivery.xml" />
|
|
48 |
|
|
49 |
<!-- Run the full sequence of target for the minibuild. ,minibuild-prep,compile-main,zip-ee,minibuild-check-->
|
|
50 |
<!--<target name="do-minibuild" depends="minibuild-cleanup,
|
|
51 |
compile-main"/>-->
|
217
|
52 |
|
628
|
53 |
<property name="build.name" value="minibuild_ido_sbs_coverity" />
|
217
|
54 |
<property name="build.family" value="test_minibuild_ido_sbs_coverity" />
|
645
|
55 |
|
|
56 |
<property name="sfvalidate.enabled" value="true" />
|
|
57 |
|
628
|
58 |
<target name="minibuild-check">
|
|
59 |
<!-- Check if prep has set some prop correctly... -->
|
217
|
60 |
<echo>'${arm.compiler.version}'</echo>
|
|
61 |
<au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 686\]" casesensitive="false" multiline="true"/>
|
|
62 |
|
|
63 |
<!-- Check if compile-main step did what expected... -->
|
|
64 |
<au:assertFileExists file="${canonical.sysdef.file}"/>
|
|
65 |
<if>
|
|
66 |
<istrue value="${blocks.enabled}" />
|
|
67 |
<then>
|
|
68 |
<au:assertFileExists file="${blocks.config.dir}/minibuild_helloworldapi.blocks_component.xml" />
|
|
69 |
<au:assertFileExists file="${blocks.config.dir}/minibuild_helloworldcons.blocks_component.xml" />
|
|
70 |
</then>
|
|
71 |
</if>
|
|
72 |
</target>
|
628
|
73 |
|
645
|
74 |
<!-- Preparing the content on top of the env -->
|
|
75 |
<target name="ido-50-build" depends="ido-build-prep,compile-main-source,build-log-summary,render-internal-exports,
|
|
76 |
update-policy-src-reference,render-validate-policy,check-sf-source-header,
|
|
77 |
ido-codescanner,ido-check-sf-source-header,iad-check-pkg-version,ats-test,publish-tasks-to-folder,
|
|
78 |
ido-sources-to-s60-build-robot,check-epl-errors" />
|
|
79 |
|
|
80 |
<target name="ido-build-prep" depends="ido-configure-prep,init,log-build-env,set-arm-version,check-free-space,
|
|
81 |
diamonds,do-prep-work-area,ido-prep-clean-source,ido-prep-copy,create-bom" />
|
|
82 |
|
|
83 |
<target name="ido-prep-clean-source">
|
|
84 |
<antcall target="ido-prep-clean">
|
|
85 |
<param name="enabled.coverity" value="false"/>
|
|
86 |
</antcall>
|
|
87 |
</target>
|
|
88 |
|
|
89 |
<target name="compile-main-source">
|
|
90 |
<antcall target="compile-main">
|
|
91 |
<param name="coverity.enabled" value="true"/>
|
|
92 |
</antcall>
|
|
93 |
</target>
|
|
94 |
|
217
|
95 |
|
628
|
96 |
<import file="../ido/build.xml"/>
|
217
|
97 |
<import file="build.sbsinput.ant.xml" />
|
645
|
98 |
|
|
99 |
<hlm:signalInput id="EPLLicenseSignalInput" failbuild="never">
|
|
100 |
<hlm:notifierListRef refid="defaultFailNotifier" />
|
|
101 |
</hlm:signalInput>
|
|
102 |
|
|
103 |
<target name="check-epl-errors">
|
|
104 |
<loadfile property="epl.errors" srcFile="${sf.check.source.log}"/>
|
|
105 |
<au:assertMatches string="${epl.errors}"
|
|
106 |
pattern="ERROR: EPL license header not found:"
|
|
107 |
message="EPL validation is not done."
|
|
108 |
multiline="true"
|
|
109 |
/>
|
|
110 |
</target>
|
217
|
111 |
</project>
|
|
112 |
|
|
113 |
|