author | shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra |
Fri, 06 Mar 2009 15:05:38 +0000 | |
changeset 9 | 29394d95b3e1 |
parent 8 | b7bfb0cc6f4a |
parent 6 | 8bbcf7b2218d |
child 11 | 5a54277d3867 |
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 |
|
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
4 |
<dirname property="sf.common.config.dir" file="${ant.file.SF-COMMON-CONFIG}"/> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
5 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
6 |
<!-- import default properties file config --> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
7 |
<import file="${sf.common.config.dir}/properties.default.ant.xml"/> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
8 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
9 |
<!-- import all core HELIUM targets --> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
10 |
<import file="${helium.dir}/helium.ant.xml" /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
11 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
12 |
<!-- conditional import of generated source spec if available --> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
13 |
<if><available file="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
14 |
<then> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
15 |
<echo message="Generated source spec found, importing..." /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
16 |
<import file="${sf.common.config.dir}/generated/source-spec.ant.xml"/> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
17 |
</then> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
18 |
</if> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
19 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
20 |
<!-- |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
21 |
** TARGET DEFINITIONS |
9 | 22 |
--> |
23 |
||
24 |
<target name="sf-prep" depends="sf-generate-source-spec, prep-drive,init-build-area,check-tool-dependencies,create-bom,log-build-env"> |
|
25 |
<echo>[SF-PREP]</echo> |
|
26 |
<tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/> |
|
27 |
</target> |
|
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
28 |
|
9 | 29 |
<target name="sf-build-all" depends="sf-prebuild,sf-build-noprep,sf-postbuild"> |
30 |
<echo>[SF-BUILD-ALL]</echo> |
|
31 |
</target> |
|
32 |
||
33 |
<target name="sf-build" depends="sf-prep,sf-prebuild,sf-build-noprep,sf-postbuild"> |
|
34 |
<echo>[SF-BUILD]</echo> |
|
35 |
</target> |
|
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
36 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
37 |
<target name="sf-parse-project-config"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
38 |
<!-- TODO: Parse the project config and generate properties and csv file to be |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
39 |
used by the builds. --> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
40 |
<echo message="Parse the project configuration" /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
41 |
</target> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
42 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
43 |
<target name="sf-generate-source-spec" depends="sf-parse-project-config"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
44 |
<!-- TODO: 1. Same file name souce-spec.ant.xml is used for all packages |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
45 |
for multiple package builds, this needs to be linked with package name. --> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
46 |
<!-- TODO: 2. Change fmpp data to be a full property rather than relative path --> |
6 | 47 |
|
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
48 |
<fmpp sourceFile="${sf.common.config.dir}/templates/source-spec.ant.xml.ftl" |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
49 |
outputFile="${sf.common.config.dir}/generated/source-spec.ant.xml"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
50 |
<data expandProperties="yes"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
51 |
ant: antProperties() |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
52 |
data: csv(${sf.common.config.dir}/../../build/config/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
53 |
</data> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
54 |
</fmpp> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
55 |
</target> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
56 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
57 |
<target name="sf-prebuild"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
58 |
<echo>[SF-PREBUILD]</echo> |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
59 |
|
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
60 |
<if> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
61 |
<istrue value="${sf.spec.baseline.enable}" /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
62 |
<then> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
63 |
<runtarget target="preparation-getenv"/> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
64 |
</then> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
65 |
</if> |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
66 |
|
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
67 |
<if> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
68 |
<istrue value="${sf.spec.sourcesync.enable}" /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
69 |
<then> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
70 |
<runtarget target="sf-get-source"/> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
71 |
</then> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
72 |
</if> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
73 |
</target> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
74 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
75 |
<target name="sf-postbuild"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
76 |
<echo>[SF-POSTBUILD]</echo> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
77 |
</target> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
78 |
|
8
b7bfb0cc6f4a
Remove duplicate sync and rename sf-build-run to correct sf-build-noprep target
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
7
diff
changeset
|
79 |
<target name="sf-build-noprep" depends="sf-compile"> |
b7bfb0cc6f4a
Remove duplicate sync and rename sf-build-run to correct sf-build-noprep target
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
7
diff
changeset
|
80 |
<echo>[SF-BUILD-NOPREP]</echo> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
81 |
</target> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
82 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
83 |
<target name="sf-compile"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
84 |
<!-- target name="compile-main-prebuild" --> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
85 |
<antcall target="compile-main" inheritAll="false"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
86 |
<param name="build.system" value="sbs" /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
87 |
<param name="sysdef.configurations.list" value="s60_build_clean,s60_build" /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
88 |
<!--<reference refid="sf.system.definition.files" torefid="system.definition.files" />--> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
89 |
</antcall> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
90 |
</target> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
91 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
92 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
93 |
<target name="sf-get-source" depends="sf-generate-source-spec"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
94 |
<ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
95 |
</target> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
96 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
97 |
|
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
98 |
</project> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
99 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
100 |