588
|
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 |
-->
|
|
23 |
<project name="minibuild.prep-wa-synergy71" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium" basedir="..\ido">
|
|
24 |
<property environment="env"/>
|
|
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="ebs"/>
|
|
29 |
|
|
30 |
<!-- Configuring get latest env. -->
|
|
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" />
|
|
34 |
|
|
35 |
|
|
36 |
<!-- Synergy configuration -->
|
|
37 |
<property name="ccm.database" value="sa1bm1" />
|
|
38 |
<property name="ccm.project" value="MinibuildDomain-1_20100428" />
|
|
39 |
<property name="publish.ccm.folder" value="sa1bm1#36" />
|
|
40 |
|
|
41 |
|
|
42 |
<!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check-->
|
|
43 |
<!--<target name="do-mini-build" depends="mini-build-cleanup,
|
|
44 |
compile-main"/>-->
|
|
45 |
|
|
46 |
<property name="build.name" value="minibuild_ido_synergy71" />
|
|
47 |
<property name="build.family" value="test_minibuild_ido_synergy71" />
|
|
48 |
|
|
49 |
<!--ant code coverage for mini-builds-->
|
|
50 |
<target name="mini-build">
|
|
51 |
<antcall target="database">
|
|
52 |
<param name="home.files.only" value="false"/>
|
|
53 |
</antcall>
|
|
54 |
<mkdir dir="${helium.build.dir}/temp" />
|
|
55 |
<property name="config.temp.build.dir" location="${config.dir}/build" />
|
|
56 |
<hlm:coveragerecord name="${helium.build.dir}/temp/test.minibuild-ido.xml" action="start" />
|
|
57 |
<runtarget target="do-mini-build" />
|
|
58 |
<hlm:coveragerecord name="${helium.build.dir}/temp/test.minibuild-ido.xml" action="stop" />
|
|
59 |
<fmpp sourcefile="${helium.dir}/tools/common/templates/coveragerecord.txt.ftl" outputfile="${helium.build.dir}/temp/test_minibuild.txt">
|
|
60 |
<data expandProperties="yes">
|
|
61 |
doc: xml(${helium.build.dir}/temp/test.minibuild-ido.xml)
|
|
62 |
database: xml(${database.file})
|
|
63 |
</data>
|
|
64 |
</fmpp>
|
|
65 |
<loadfile srcfile="${helium.build.dir}/temp/test_minibuild.txt" property="ant.coverage.summary" />
|
|
66 |
<echo>
|
|
67 |
The summary of Ant code coverage:
|
|
68 |
|
|
69 |
${ant.coverage.summary}</echo>
|
|
70 |
<fmpp sourcefile="${helium.dir}/tools/common/templates/coveragerecord.html.ftl" outputfile="${helium.build.dir}/temp/test_minibuild.html">
|
|
71 |
<data expandProperties="yes">
|
|
72 |
doc: xml(${helium.build.dir}/temp/test.minibuild-ido.xml)
|
|
73 |
database: xml(${database.file})
|
|
74 |
</data>
|
|
75 |
</fmpp>
|
|
76 |
|
|
77 |
<au:assertFileExists file="${build.log.dir}/prep/${build.id}_bom.log" />
|
|
78 |
<au:assertFileExists file="${build.log.dir}/prep/${build.id}_bom.txt" />
|
|
79 |
<au:assertFileExists file="${build.log.dir}/prep/${build.id}_ccm_get_input.log" />
|
|
80 |
|
|
81 |
</target>
|
|
82 |
|
|
83 |
<target name="do-mini-build" depends="prep,publish-tasks-to-folder" />
|
|
84 |
|
|
85 |
<!-- Stubbing few targets for easy testing ... -->
|
|
86 |
<target name="prep-drive" depends="build-number" />
|
|
87 |
<target name="dragonfly-prep-drive" />
|
|
88 |
|
|
89 |
<import file="../ido/build.xml"/>
|
|
90 |
|
|
91 |
|
|
92 |
</project>
|
|
93 |
|
|
94 |
|