9 <!-- import common properties/targets/references --> |
9 <!-- import common properties/targets/references --> |
10 <import file="../common/build.xml" /> |
10 <import file="../common/build.xml" /> |
11 |
11 |
12 <!-- import package references --> |
12 <!-- import package references --> |
13 <import file="${sf.platform.config.dir}/platform_refs.ant.xml" optional="true"/> |
13 <import file="${sf.platform.config.dir}/platform_refs.ant.xml" optional="true"/> |
14 |
14 |
15 <!-- make this conditional! --> |
15 <!-- pre helium 7+ should import compile targets from compile-hlm-5.ant.xml --> |
16 <import file="${sf.platform.config.dir}/compile.ant.xml"/> |
|
17 <!-- pre helium 7+ should import compile targets from compile-hlm-5.ant.xml > |
|
18 <if> |
16 <if> |
19 <or> |
17 <or> |
20 <equals arg1="${helium.version}" arg2="7.0"/> |
18 <equals arg1="${helium.version}" arg2="5.0"/> |
21 <equals arg1="${last.major.helium.version}" arg2="7.0"/> |
19 <equals arg1="${last.major.helium.version}" arg2="5.0"/> |
22 </or> |
20 </or> |
23 <then> |
21 <then> |
24 |
22 <echo>INFO Importing HLM5 compile targets</echo> |
|
23 <import file="${sf.platform.config.dir}/compile-hlm-5.ant.xml"/> |
25 </then> |
24 </then> |
26 <else> |
25 <else> |
27 <import file="${sf.platform.config.dir}/compile-hlm-5.ant.xml"/> |
26 <echo>INFO Importing HLM7 compile targets</echo> |
|
27 <import file="${sf.platform.config.dir}/compile.ant.xml"/> |
28 </else> |
28 </else> |
29 </if--> |
29 </if> |
30 |
30 |
31 <!-- MattD - workaround until generating a model from package definitions works--> |
31 <!-- MattD - workaround until generating a model from package definitions works--> |
32 <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile,sf-postbuild"> |
32 <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile,sf-postbuild"> |
33 <echo>[SF-BUILD-NOPREP] (platform)</echo> |
33 <echo>[SF-BUILD-NOPREP] (platform)</echo> |
34 <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo> |
34 <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo> |
209 |
209 |
210 </target> |
210 </target> |
211 |
211 |
212 <target name="sf-s60-cone-cenrep"> |
212 <target name="sf-s60-cone-cenrep"> |
213 <!-- TODO: Make this better, as multiple exec calls are a bit clunky --> |
213 <!-- TODO: Make this better, as multiple exec calls are a bit clunky --> |
214 <if><available file="${helium.dir}/../ConE/" type="dir"/> |
214 <if><available file="${env.PDT_HOME}/ConE/" type="dir"/> |
215 <then> |
215 <then> |
216 <echo message="INFO Generating ConE CenRep"/> |
216 <echo message="INFO Generating ConE CenRep"/> |
217 |
217 |
218 <exec executable="cmd" dir="${build.drive}/epoc32/rom/config" failonerror="false" output="${build.log.dir}/${build.id}_cenrep.log"> |
218 <exec executable="cmd" dir="${build.drive}/epoc32/rom/config" failonerror="false" output="${build.log.dir}/${build.id}_cenrep.log"> |
219 <arg value="/c"/> |
219 <arg value="/c"/> |
220 <arg value="cone"/> |
220 <arg value="${env.PDT_HOME}/ConE/cone.cmd"/> |
221 <arg value="generate"/> |
221 <arg value="generate"/> |
222 <arg value="-c"/> |
222 <arg value="-c"/> |
223 <arg value="convert.confml"/> |
223 <arg value="convert.confml"/> |
224 <arg value="-o"/> |
224 <arg value="-o"/> |
225 <arg value="."/> |
225 <arg value="."/> |
226 </exec> |
226 </exec> |
227 |
227 |
228 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
228 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
229 <arg value="/c"/> |
229 <arg value="/c"/> |
230 <arg value="cone"/> |
230 <arg value="${env.PDT_HOME}/ConE/cone.cmd"/> |
231 <arg value="generate"/> |
231 <arg value="generate"/> |
232 <arg value="-p"/> |
232 <arg value="-p"/> |
233 <arg value="\epoc32\rom\config"/> |
233 <arg value="\epoc32\rom\config"/> |
234 <arg value="-o"/> |
234 <arg value="-o"/> |
235 <arg value="\epoc32\release\winscw\udeb\z"/> |
235 <arg value="\epoc32\release\winscw\udeb\z"/> |
239 <arg value="5"/> |
239 <arg value="5"/> |
240 </exec> |
240 </exec> |
241 |
241 |
242 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
242 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
243 <arg value="/c"/> |
243 <arg value="/c"/> |
244 <arg value="cone"/> |
244 <arg value="${env.PDT_HOME}/ConE/cone.cmd"/> |
245 <arg value="generate"/> |
245 <arg value="generate"/> |
246 <arg value="-p"/> |
246 <arg value="-p"/> |
247 <arg value="\epoc32\rom\config"/> |
247 <arg value="\epoc32\rom\config"/> |
248 <arg value="-o"/> |
248 <arg value="-o"/> |
249 <arg value="\epoc32\release\winscw\urel\z"/> |
249 <arg value="\epoc32\release\winscw\urel\z"/> |
253 <arg value="5"/> |
253 <arg value="5"/> |
254 </exec> |
254 </exec> |
255 |
255 |
256 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
256 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
257 <arg value="/c"/> |
257 <arg value="/c"/> |
258 <arg value="cone"/> |
258 <arg value="${env.PDT_HOME}/ConE/cone.cmd"/> |
259 <arg value="generate"/> |
259 <arg value="generate"/> |
260 <arg value="-p"/> |
260 <arg value="-p"/> |
261 <arg value="\epoc32\rom\config"/> |
261 <arg value="\epoc32\rom\config"/> |
262 <arg value="-o"/> |
262 <arg value="-o"/> |
263 <arg value="\epoc32\data\z"/> |
263 <arg value="\epoc32\data\z"/> |
267 <arg value="5"/> |
267 <arg value="5"/> |
268 </exec> |
268 </exec> |
269 |
269 |
270 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
270 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
271 <arg value="/c"/> |
271 <arg value="/c"/> |
272 <arg value="cone"/> |
272 <arg value="${env.PDT_HOME}/ConE/cone.cmd"/> |
273 <arg value="generate"/> |
273 <arg value="generate"/> |
274 <arg value="-p"/> |
274 <arg value="-p"/> |
275 <arg value="\epoc32\rom\config"/> |
275 <arg value="\epoc32\rom\config"/> |
276 <arg value="-o"/> |
276 <arg value="-o"/> |
277 <arg value="\epoc32\release\winscw\udeb\z"/> |
277 <arg value="\epoc32\release\winscw\udeb\z"/> |
281 <arg value="5"/> |
281 <arg value="5"/> |
282 </exec> |
282 </exec> |
283 |
283 |
284 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
284 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
285 <arg value="/c"/> |
285 <arg value="/c"/> |
286 <arg value="cone"/> |
286 <arg value="${env.PDT_HOME}/ConE/cone.cmd"/> |
287 <arg value="generate"/> |
287 <arg value="generate"/> |
288 <arg value="-p"/> |
288 <arg value="-p"/> |
289 <arg value="\epoc32\rom\config"/> |
289 <arg value="\epoc32\rom\config"/> |
290 <arg value="-o"/> |
290 <arg value="-o"/> |
291 <arg value="\epoc32\release\winscw\urel\z"/> |
291 <arg value="\epoc32\release\winscw\urel\z"/> |
295 <arg value="5"/> |
295 <arg value="5"/> |
296 </exec> |
296 </exec> |
297 |
297 |
298 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
298 <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log"> |
299 <arg value="/c"/> |
299 <arg value="/c"/> |
300 <arg value="cone"/> |
300 <arg value="${env.PDT_HOME}/ConE/cone.cmd"/> |
301 <arg value="generate"/> |
301 <arg value="generate"/> |
302 <arg value="-p"/> |
302 <arg value="-p"/> |
303 <arg value="\epoc32\rom\config"/> |
303 <arg value="\epoc32\rom\config"/> |
304 <arg value="-o"/> |
304 <arg value="-o"/> |
305 <arg value="\epoc32\data\z"/> |
305 <arg value="\epoc32\data\z"/> |