author | Dario Sestito <dario.sestito@symbian.com> |
Mon, 02 Mar 2009 17:22:29 +0000 | |
changeset 0 | 571f289c60b8 |
child 2 | b55de085507d |
permissions | -rw-r--r-- |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
2 |
<project name="SF-COMMON-CONFIG"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
3 |
<dirname property="sf.common.config.dir" file="${ant.file.SF-COMMON-CONFIG}"/> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
4 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
5 |
<!-- import default properties file config --> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
6 |
<import file="${sf.common.config.dir}/properties.default.ant.xml"/> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
7 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
8 |
<!-- import all core HELIUM targets --> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
9 |
<import file="${helium.dir}/helium.ant.xml" /> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
10 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
11 |
<!-- import sysdef file location config --> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
12 |
<import file="${sf.common.config.dir}/sysdef.config.ant.xml"/> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
13 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
14 |
<!-- |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
15 |
** TARGET DEFINITIONS |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
16 |
--> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
17 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
18 |
<target name="sf-build" depends="sf-prep,sf-prebuild,sf-build-run,sf-postbuild"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
19 |
<echo>[SF-BUILD]</echo> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
20 |
</target> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
21 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
22 |
<target name="sf-build-noprep"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
23 |
<echo>[SF-BUILD-NO-PREP]</echo> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
24 |
</target> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
25 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
26 |
<target name="sf-prep" depends="check-tool-dependencies, prep-drive,init-build-area,create-bom,log-build-env"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
27 |
<echo>[SF-PREP]</echo> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
28 |
<tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
29 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
30 |
<!-- new implementation that only rely on Ant --> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
31 |
<fmpp sourceFile="${sf.common.config.dir}/templates/hg-prep.ant.xml.ftl" |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
32 |
outputFile="${prep.dynamic.config}"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
33 |
<data expandProperties="yes"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
34 |
ant: antProperties() |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
35 |
data: csv(${sf.common.config.dir}/../../build/${hg.config}, {separator:','}) |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
36 |
</data> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
37 |
</fmpp> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
38 |
<ant antfile="${prep.dynamic.config}"/> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
39 |
</target> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
40 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
41 |
<target name="sf-prebuild" depends="preparation-getenv"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
42 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
43 |
<echo>[SF-PREBUILD]</echo> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
44 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
45 |
</target> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
46 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
47 |
<!-- <target name="sf-preparation-getenv"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
48 |
<antcall target="preparation-getenv"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
49 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
50 |
</antcall> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
51 |
</target> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
52 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
53 |
--> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
54 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
55 |
<target name="sf-postbuild"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
56 |
<echo>[SF-POSTBUILD]</echo> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
57 |
</target> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
58 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
59 |
<target name="sf-build-run"> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
60 |
<echo>[SF-BUILD-RUN]</echo> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
61 |
</target> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
62 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
63 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
64 |
</project> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
65 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
66 |