buildframework/helium/tests/minibuilds/ido/build.xml
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
child 217 0f5e3a7fb6af
equal deleted inserted replaced
1:be27ed110b50 179:d8ac696cc51f
    23 <project name="minibuild.ido" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
    23 <project name="minibuild.ido" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
    24 	<property environment="env" />
    24 	<property environment="env" />
    25 	<import file="../site/${env.TEAM}.ant.xml" />
    25 	<import file="../site/${env.TEAM}.ant.xml" />
    26 	<dirname property="config.dir" file="${ant.file.minibuild.ido}" />
    26 	<dirname property="config.dir" file="${ant.file.minibuild.ido}" />
    27 
    27 
       
    28   <property name="data.drive.letter" value="E" />
    28 	<!-- Enable Helium internal assertion checking. -->
    29 	<!-- Enable Helium internal assertion checking. -->
    29 	<property name="hlm.enable.asserts" value="1" />
    30 	<property name="hlm.enable.asserts" value="1" />
    30 
    31 
    31 	<property name="build.name" value="minibuild_ido" />
    32 	<property name="build.name" value="minibuild_ido" />
    32 	<property name="build.family" value="test_minibuild_ido" />
    33 	<property name="build.family" value="test_minibuild_ido" />
    33 	<property name="major.version" value="0" />
    34 	<property name="major.version" value="0" />
    34 	<property name="minor.version" value="0" />
    35 	<property name="minor.version" value="0" />
    35 
    36 	
    36 	<property name="ccm.project.wa_path" location="E:\Build_E\${env.USERNAME}\ido_wa\${build.name}" />
    37 	<condition property="ccm.project.wa_path" value="${data.drive.letter}:\Build_${data.drive.letter}\${env.USERNAME}\ido_wa\${build.name}"  else="${build.name}\wa" > 
       
    38 	      <os family="windows"/>
       
    39 	</condition> 
    37 	<property name="ccm.enabled" value="true" />
    40 	<property name="ccm.enabled" value="true" />
    38 
    41 
    39 
    42 
    40 	<!-- build configuration -->
    43 	<!-- build configuration -->
    41 	<property name="sysdef.configurations.list" value="helium_minibuild_ido" />
    44 	<property name="sysdef.configurations.list" value="helium_minibuild_ido" />
    45 	</path>
    48 	</path>
    46 
    49 
    47 
    50 
    48 	<!-- Configuring the build system -->
    51 	<!-- Configuring the build system -->
    49 	<property name="build.system" value="ec-helium" />
    52 	<property name="build.system" value="ec-helium" />
    50 	<property name="rvct.version" value="22_616" />
    53 	<property name="rvct.version" value="22_686" />
    51 
    54 
    52 	<!-- Configuring get latest env. -->
    55 	<!-- Configuring get latest env. -->
    53 	<property name="s60.grace.service" value="S60RnD" />
    56 	<property name="s60.grace.service" value="s60_devices_sw" />
    54 	<property name="s60.grace.product" value="pf_5250" />
    57 	<property name="s60.grace.product" value="DFS7x.92" />
    55 	<property name="s60.grace.release" value="pf_5250(?:_| )?\d{4}(?:\s*wk)?\d{2}" />
    58 	<property name="s60.grace.release" value="mcl_\d{6}_hw79" />
    56 	<!-- matching pf_5250_200816 and pf_5250 2008 wk16 -->
    59 	<!-- matching mcl_200948_hw79 -->
    57 	<property name="prep.root.dir" value="E:\Build_E\${env.USERNAME}\ido_ba\${build.name}" />
    60 	<condition property="prep.root.dir" value="${data.drive.letter}:\Build_${data.drive.letter}\${env.USERNAME}\ido_ba\${build.name}" else="${build.name}\ido_ba" >
    58 
    61     <os family="windows"/>
       
    62   </condition>
    59 	<!-- Synergy configuration -->
    63 	<!-- Synergy configuration -->
    60 	<property name="ccm.database" value="tr1test1" />
    64 	<property name="ccm.database" value="tr1test1" />
    61 	<property name="prep.delivery.file" location="config/delivery.xml" />
    65 	<property name="prep.delivery.file" location="config/delivery.xml" />
    62 	<property name="publish.ccm.folder" value="tr1test1#2079" />
    66 	<property name="publish.ccm.folder" value="tr1test1#2079" />
    63 
    67 
   112                 database: xml(${database.file})
   116                 database: xml(${database.file})
   113 			</data>
   117 			</data>
   114 		</fmpp>
   118 		</fmpp>
   115 	</target>
   119 	</target>
   116 
   120 
       
   121 
   117 	<!-- Preparing the content on top of the env -->
   122 	<!-- Preparing the content on top of the env -->
   118 	<target name="ido-50-build" depends="ido-build-prep,compile-main,build-log-summary,render-internal-exports,update-policy-src-reference,render-validate-policy,localisation-50-build,ido-codescanner,rndsdk-create-api-descr-xml,ats-test,publish-tasks-to-folder,ido-sources-to-s60-build-robot" />
   123 	<target name="ido-50-build" depends="ido-build-prep,compile-main,build-log-summary,render-internal-exports,update-policy-src-reference,render-validate-policy,localisation-50-build,ido-codescanner,rndsdk-create-api-descr-xml,ats-test,publish-tasks-to-folder,ido-sources-to-s60-build-robot" />
   119 	<target name="ido-build-prep" depends="ido-configure-prep,init,check-tool-dependencies,log-build-env,set-arm-version,check-free-space,diamonds,do-ccm-get-input,ido-prep-clean,ido-prep-copy,create-bom" />
   124 	<target name="ido-build-prep" depends="ido-configure-prep,init,check-tool-dependencies,log-build-env,set-arm-version,check-free-space,diamonds,do-ccm-get-input,ido-prep-clean,ido-prep-copy,create-bom" />
   120 
   125 
   121 	<!-- needed to defined skip.prep-drive -->
   126 	<!-- needed to defined skip.prep-drive -->
   148         	</fileset>
   153         	</fileset>
   149         </xmlvalidate>
   154         </xmlvalidate>
   150 	</target>
   155 	</target>
   151 
   156 
   152 	<target name="mini-build-cleanup">
   157 	<target name="mini-build-cleanup">
   153 		<delete verbose="true" includeemptydirs="true">
   158 		<delete verbose="true" includeemptydirs="true" failonerror="false">
   154 			<fileset dir="${build.drive}/" casesensitive="false">
   159 			<fileset dir="${build.drive}/" casesensitive="false">
   155 				<include name="makefile" />
   160 				<include name="makefile" />
   156 				<include name="*.mk" />
   161 				<include name="*.mk" />
   157 				<include name="ecloud_tmp_*/**" />
   162 				<include name="ecloud_tmp_*/**" />
   158 				<include name="emake.*" />
   163 				<include name="emake.*" />
   166 	</target>
   171 	</target>
   167 
   172 
   168 
   173 
   169 	<target name="mini-build-check">
   174 	<target name="mini-build-check">
   170 		<!-- Check if prep has set some prop correctly... -->
   175 		<!-- Check if prep has set some prop correctly... -->
       
   176 		<!-- remember to update the selection by the environment variable in hlm.bat when switching to other compiler version -->
   171 		<echo>'${arm.compiler.version}'</echo>
   177 		<echo>'${arm.compiler.version}'</echo>
   172 		<au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 616\]" casesensitive="false" multiline="true" />
   178 		<au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 686\]" casesensitive="false" multiline="true" />
   173 
   179 
   174 		<!-- Check if compile-main step did what expected... -->
   180 		<!-- Check if compile-main step did what expected... -->
   175 		<au:assertFileExists file="${canonical.sysdef.file}" />
   181 		<au:assertFileExists file="${canonical.sysdef.file}" />
   176 		<if>
   182 		<if>
   177 			<or>
   183 			<or>
   181 			<then>
   187 			<then>
   182 				<au:assertFileExists file="${build.drive}/helium_minibuild_ido.make" />
   188 				<au:assertFileExists file="${build.drive}/helium_minibuild_ido.make" />
   183 				<au:assertFileExists file="${build.drive}/helium_minibuild_ido_clean.make" />
   189 				<au:assertFileExists file="${build.drive}/helium_minibuild_ido_clean.make" />
   184 				<au:assertFileExists file="${build.drive}/emake.data" />
   190 				<au:assertFileExists file="${build.drive}/emake.data" />
   185 
   191 
   186 				<au:assertFileExists file="${build.log.dir}/${build.id}.helium_minibuild_ido_run_emake.bat" />
   192 				<au:assertFileExists file="${temp.build.dir}/${build.id}.helium_minibuild_ido_run_emake.bat" />
   187 				<au:assertFileExists file="${build.log.dir}/${build.id}.helium_minibuild_ido_clean_run_emake.bat" />
   193 				<au:assertFileExists file="${temp.build.dir}/${build.id}.helium_minibuild_ido_clean_run_emake.bat" />
   188 			</then>
   194 			</then>
   189 		</if>
   195 		</if>
   190 	</target>
   196 	</target>
   191 
   197 
   192 
   198