buildframework/helium/tests/minibuilds/prep-wa-synergy71/build.xml
author srilekhas <srilekhas@symbian.org>
Wed, 18 Aug 2010 11:18:38 +0100
changeset 627 cb3264f4c6e6
parent 588 c7c26511138f
child 628 7c4a911dc066
permissions -rw-r--r--
Merge : re-applies missing part of fix for Bug 2901,Add export for s60ibymacros.pm
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     2
<!-- 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     3
============================================================================ 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     4
Name        : 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     5
Part of     : Helium 
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     6
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     8
All rights reserved.
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    13
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    14
Initial Contributors:
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    16
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    17
Contributors:
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    18
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    19
Description:
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    20
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    21
============================================================================
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    22
-->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    23
<project name="minibuild.prep-wa-synergy71" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium" basedir="..\ido">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    24
    <property environment="env"/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    25
	<!--property name="config.temp.build.dir" location="${ant.file.minibuild.ido-sbs}/../build"/ -->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    26
	
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    27
	<!-- Configuring raptor build system -->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    28
	<property name="build.system" value="ebs"/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    29
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    30
    <!-- Configuring get latest env. -->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    31
    <property name="s60.grace.service" value="s60_devices_sw" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    32
    <property name="s60.grace.product" value="DFS7x.92" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    33
    <property name="s60.grace.release" value="92_\d{6}_hw79" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    34
    
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    35
    
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    36
    <!-- Synergy configuration -->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    37
	<property name="ccm.database" value="sa1bm1" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    38
    <property name="ccm.project" value="MinibuildDomain-1_20100428" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    39
	<property name="publish.ccm.folder" value="sa1bm1#36" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    40
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    41
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    42
    <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check-->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    43
    <!--<target name="do-mini-build" depends="mini-build-cleanup,
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    44
    										compile-main"/>-->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    45
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    46
	<property name="build.name" value="minibuild_ido_synergy71" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    47
    <property name="build.family" value="test_minibuild_ido_synergy71" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    48
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    49
    <!--ant code coverage for mini-builds-->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    50
	<target name="mini-build">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    51
	    <antcall target="database">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    52
            <param name="home.files.only" value="false"/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    53
        </antcall>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    54
        <mkdir dir="${helium.build.dir}/temp" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    55
		<property name="config.temp.build.dir" location="${config.dir}/build" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    56
		<hlm:coveragerecord name="${helium.build.dir}/temp/test.minibuild-ido.xml" action="start" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    57
            <runtarget target="do-mini-build" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    58
		<hlm:coveragerecord name="${helium.build.dir}/temp/test.minibuild-ido.xml" action="stop" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    59
		<fmpp sourcefile="${helium.dir}/tools/common/templates/coveragerecord.txt.ftl" outputfile="${helium.build.dir}/temp/test_minibuild.txt">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    60
			<data expandProperties="yes">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    61
                doc: xml(${helium.build.dir}/temp/test.minibuild-ido.xml)
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    62
                database: xml(${database.file})
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    63
            </data>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    64
		</fmpp>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    65
		<loadfile srcfile="${helium.build.dir}/temp/test_minibuild.txt" property="ant.coverage.summary" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    66
		<echo>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    67
The summary of Ant code coverage:
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    68
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    69
${ant.coverage.summary}</echo>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    70
		<fmpp sourcefile="${helium.dir}/tools/common/templates/coveragerecord.html.ftl" outputfile="${helium.build.dir}/temp/test_minibuild.html">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    71
			<data expandProperties="yes">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    72
            	doc: xml(${helium.build.dir}/temp/test.minibuild-ido.xml)
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    73
                database: xml(${database.file})
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    74
			</data>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    75
		</fmpp>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    76
		
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    77
		<au:assertFileExists file="${build.log.dir}/prep/${build.id}_bom.log" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    78
		<au:assertFileExists file="${build.log.dir}/prep/${build.id}_bom.txt" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    79
		<au:assertFileExists file="${build.log.dir}/prep/${build.id}_ccm_get_input.log" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    80
		
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    81
	</target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    82
	
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    83
	<target name="do-mini-build" depends="prep,publish-tasks-to-folder" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    84
	
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    85
	<!-- Stubbing few targets for easy testing  ... -->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    86
	<target name="prep-drive" depends="build-number" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    87
	<target name="dragonfly-prep-drive" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    88
	
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    89
	<import file="../ido/build.xml"/>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    90
    
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    91
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    92
</project>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    93
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents:
diff changeset
    94