18 |
18 |
19 Description: |
19 Description: |
20 |
20 |
21 ============================================================================ |
21 ============================================================================ |
22 --> |
22 --> |
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="minibuild" 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 <property name="data.drive.letter" value="E" /> |
29 <!-- Enable Helium internal assertion checking. --> |
29 <!-- Enable Helium internal assertion checking. --> |
30 <property name="hlm.enable.asserts" value="1" /> |
30 <property name="hlm.enable.asserts" value="1" /> |
31 |
31 <property name="cmt.enabled" value="true" /> |
32 <property name="build.name" value="minibuild_ido" /> |
32 <property name="build.name" value="minibuild_ido" /> |
33 <property name="build.family" value="test_minibuild_ido" /> |
33 <property name="build.family" value="test_minibuild_ido" /> |
34 <property name="major.version" value="0" /> |
34 <property name="major.version" value="0" /> |
35 <property name="minor.version" value="0" /> |
35 <property name="minor.version" value="0" /> |
|
36 <!-- Compatibility analyser enabling flag, causes binary check to be run --> |
|
37 <property name="ca.enabled" value="true" /> |
36 |
38 |
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" > |
39 <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"/> |
40 <os family="windows"/> |
39 </condition> |
41 </condition> |
40 <property name="ccm.enabled" value="true" /> |
42 <property name="ccm.enabled" value="true" /> |
|
43 <property name="iad.pkg.validation.enabled" value="true" /> |
41 |
44 |
42 <!-- CMT++ only runs on windows not linux machines --> |
|
43 <condition property="enable.cmt" > |
|
44 <os family="windows" /> |
|
45 </condition> |
|
46 <!--property name="ido.name" value="test_cmt" /--> |
45 <!--property name="ido.name" value="test_cmt" /--> |
47 |
46 |
48 |
47 |
49 <!-- build configuration --> |
48 <!-- build configuration --> |
50 <property name="sysdef.configurations.list" value="helium_minibuild_ido" /> |
49 <property name="sysdef.configurations.list" value="helium_minibuild_ido" /> |
58 <property name="build.system" value="ec-helium" /> |
57 <property name="build.system" value="ec-helium" /> |
59 <property name="rvct.version" value="22_686" /> |
58 <property name="rvct.version" value="22_686" /> |
60 |
59 |
61 <!-- Configuring get latest env. --> |
60 <!-- Configuring get latest env. --> |
62 <property name="s60.grace.service" value="S60RnD" /> |
61 <property name="s60.grace.service" value="S60RnD" /> |
63 <property name="s60.grace.product" value="pf_5250" /> |
62 <property name="s60.grace.product" value="pf_5250_prd" /> |
64 <property name="s60.grace.release" value="pf_5250_\d{6}" /> |
63 <property name="s60.grace.release" value="pf_5250_prd_\d{2}\.\d{1}\.\d{3}" /> |
65 |
64 |
66 <!-- matching mcl_200948_hw79 --> |
65 <!-- matching mcl_200948_hw79 --> |
67 <condition property="prep.root.dir" value="${data.drive.letter}:\Build_${data.drive.letter}\${env.USERNAME}\ido_ba\${build.name}" else="${build.name}\ido_ba" > |
66 <condition property="prep.root.dir" value="${data.drive.letter}:\Build_${data.drive.letter}\${env.USERNAME}\ido_ba\${build.name}" else="${build.name}\ido_ba" > |
68 <os family="windows"/> |
67 <os family="windows"/> |
69 </condition> |
68 </condition> |
76 |
75 |
77 <!-- Synergy is not configured --> |
76 <!-- Synergy is not configured --> |
78 <property name="skip.password.validation" value="1" /> |
77 <property name="skip.password.validation" value="1" /> |
79 |
78 |
80 <!-- IDO robot configuration --> |
79 <!-- IDO robot configuration --> |
81 <property name="do.robot.release" value="MinibuildDomain" /> |
80 <property name="robot.release.enabled" value="true" /> |
82 <tstamp> |
81 <tstamp> |
83 <format property="ido.robot.tstamp" pattern="yyyyMMddhhmmss" /> |
82 <format property="ido.robot.tstamp" pattern="yyyyMMddhhmmss" /> |
84 </tstamp> |
83 </tstamp> |
85 <property name="s60.build.robot.path" location="${build.drive}/shared_drive/s60robot/${build.name}/${ido.robot.tstamp}" /> |
84 <property name="s60.build.robot.path" location="${build.drive}/shared_drive/s60robot/${build.name}/${ido.robot.tstamp}" /> |
86 |
85 |
87 <import file="hack-test.ant.xml" /> |
86 <import file="hack-test.ant.xml" /> |
88 <import file="${helium.dir}/helium.ant.xml" /> |
87 <import file="${helium.dir}/helium.ant.xml" /> |
89 <import file="config/stages_config.ant.xml" /> |
88 <import file="config/stages_config.ant.xml" /> |
90 |
89 |
91 <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check--> |
90 <!-- Run the full sequence of target for the minibuild. ,minibuild-prep,compile-main,zip-ee,minibuild-check--> |
92 <target name="do-mini-build" depends="ido-update-build-area, |
91 <target name="do-minibuild" depends="ido-update-build-area, |
93 flag-ba-for-deletion, |
92 flag-ba-for-deletion, |
94 mini-build-cleanup, |
93 minibuild-cleanup, |
95 ido-build, |
94 ido-build, |
96 check-diamonds, |
95 check-diamonds, |
97 mini-build-check, |
96 minibuild-check, |
98 run-hack" /> |
97 run-hack, |
99 |
98 blocks-create-bundles, |
100 |
99 final" /> |
101 <!--ant code coverage for mini-builds--> |
100 |
102 <target name="mini-build"> |
101 |
103 <antcall target="database"> |
102 <!--ant code coverage for minibuilds--> |
104 <param name="home.files.only" value="false"/> |
103 <target name="minibuild"> |
105 </antcall> |
104 <antcall target="database"> |
|
105 <param name="home.files.only" value="false"/> |
|
106 </antcall> |
106 <mkdir dir="${helium.build.dir}/temp" /> |
107 <mkdir dir="${helium.build.dir}/temp" /> |
107 <property name="config.temp.build.dir" location="${config.dir}/build" /> |
108 <property name="config.temp.build.dir" location="${config.dir}/build" /> |
108 <hlm:coveragerecord name="${helium.build.dir}/temp/test.minibuild-ido.xml" action="start" /> |
109 <hlm:coveragerecord name="${helium.build.dir}/temp/test.minibuild-ido.xml" action="start" /> |
109 <runtarget target="do-mini-build" /> |
110 <runtarget target="do-minibuild" /> |
110 <hlm:coveragerecord name="${helium.build.dir}/temp/test.minibuild-ido.xml" action="stop" /> |
111 <hlm:coveragerecord name="${helium.build.dir}/temp/test.minibuild-ido.xml" action="stop" /> |
111 <fmpp sourcefile="${helium.dir}/tools/common/templates/coveragerecord.txt.ftl" outputfile="${helium.build.dir}/temp/test_minibuild.txt"> |
112 <fmpp sourcefile="${helium.dir}/tools/common/templates/coveragerecord.txt.ftl" outputfile="${helium.build.dir}/temp/test_minibuild.txt"> |
112 <data expandProperties="yes"> |
113 <data expandProperties="yes"> |
113 doc: xml(${helium.build.dir}/temp/test.minibuild-ido.xml) |
114 doc: xml(${helium.build.dir}/temp/test.minibuild-ido.xml) |
114 database: xml(${database.file}) |
115 database: xml(${database.file}) |
127 </fmpp> |
128 </fmpp> |
128 </target> |
129 </target> |
129 |
130 |
130 |
131 |
131 <!-- Preparing the content on top of the env --> |
132 <!-- Preparing the content on top of the env --> |
132 <target name="ido-50-build" depends="ido-build-prep,compile-main,build-log-summary,render-internal-exports,update-policy-src-reference,render-validate-policy,check-sf-source-header,localisation-50-build,ido-codescanner,ats-test,publish-tasks-to-folder,ido-sources-to-s60-build-robot" /> |
133 <target name="ido-50-build" depends="ido-build-prep,compile-main,build-log-summary,render-internal-exports, |
133 <target name="ido-build-prep" depends="ido-configure-prep,init,check-tool-dependencies,log-build-env,set-arm-version,check-free-space,diamonds,do-prep-work-area,ido-prep-clean,ido-prep-copy,create-bom" /> |
134 update-policy-src-reference,render-validate-policy,check-sf-source-header, |
|
135 ido-codescanner,iad-check-pkg-version,ats-test,publish-tasks-to-folder, |
|
136 ido-sources-to-s60-build-robot" /> |
|
137 <target name="ido-build-prep" depends="ido-configure-prep,init,log-build-env,set-arm-version,check-free-space, |
|
138 diamonds,do-prep-work-area,ido-prep-clean,ido-prep-copy,create-bom" /> |
134 |
139 |
135 <!-- needed to defined skip.prep-drive --> |
140 <!-- needed to defined skip.prep-drive --> |
136 <target name="ido-configure-prep"> |
141 <target name="ido-configure-prep"> |
137 <property name="skip.prep-drive" value="true" /> |
142 <property name="skip.prep-drive" value="true" /> |
138 </target> |
143 </target> |
161 <include name="build-time.xml"/> |
166 <include name="build-time.xml"/> |
162 </fileset> |
167 </fileset> |
163 </xmlvalidate> |
168 </xmlvalidate> |
164 </target> |
169 </target> |
165 |
170 |
166 <target name="mini-build-cleanup"> |
171 <target name="minibuild-cleanup"> |
167 <delete verbose="true" includeemptydirs="true" failonerror="false"> |
172 <delete verbose="true" includeemptydirs="true" failonerror="false"> |
168 <fileset dir="${build.drive}/" casesensitive="false"> |
173 <fileset dir="${build.drive}/" casesensitive="false"> |
169 <include name="makefile" /> |
174 <include name="makefile" /> |
170 <include name="*.mk" /> |
175 <include name="*.mk" /> |
171 <include name="ecloud_tmp_*/**" /> |
176 <include name="ecloud_tmp_*/**" /> |
205 |
210 |
206 <!-- Check if stagelogging step did what expected... --> |
211 <!-- Check if stagelogging step did what expected... --> |
207 <au:assertFileExists file="${build.log.dir}/${build.id}_ido_prep.ant.log" /> |
212 <au:assertFileExists file="${build.log.dir}/${build.id}_ido_prep.ant.log" /> |
208 <au:assertFileExists file="${build.log.dir}/${build.id}_compile.ant.log" /> |
213 <au:assertFileExists file="${build.log.dir}/${build.id}_compile.ant.log" /> |
209 <au:assertFileExists file="${build.log.dir}/${build.id}_test.ant.log" /> |
214 <au:assertFileExists file="${build.log.dir}/${build.id}_test.ant.log" /> |
210 <au:assertFileExists file="${build.log.dir}/${build.id}_localisation.ant.log" /> |
|
211 |
|
212 </target> |
215 </target> |
213 |
216 |
214 |
217 |
215 <target name="update-policy-src-reference" depends="ido-create-ado-mapping"> |
218 <target name="update-policy-src-reference" depends="ido-create-ado-mapping"> |
216 <hlm:iniKeys2Path ini="${ado.mapping.file}" pathid="reference.policy.path.list"/> |
219 <hlm:iniKeys2Path ini="${ado.mapping.file}" pathid="reference.policy.path.list"/> |