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