author | dejianmeng@d070750.prod.ad.symbian.intra |
Mon, 09 Mar 2009 15:42:02 +0000 | |
changeset 11 | 5a54277d3867 |
parent 9 | 29394d95b3e1 |
child 13 | 046dbf1ae2da |
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 |
|
11
5a54277d3867
Enabled sf properties: sf.baseline.location and sf.baseline.getenv_options
dejianmeng@d070750.prod.ad.symbian.intra
parents:
9
diff
changeset
|
6 |
<!-- import common properties/spec --> |
5a54277d3867
Enabled sf properties: sf.baseline.location and sf.baseline.getenv_options
dejianmeng@d070750.prod.ad.symbian.intra
parents:
9
diff
changeset
|
7 |
<loadproperties srcFile="${sf.common.config.dir}/common.properties"/> |
5a54277d3867
Enabled sf properties: sf.baseline.location and sf.baseline.getenv_options
dejianmeng@d070750.prod.ad.symbian.intra
parents:
9
diff
changeset
|
8 |
<import file="${sf.common.config.dir}/common_spec.ant.xml" /> |
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
|
9 |
|
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 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
|
11 |
<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
|
12 |
|
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 |
<!-- 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
|
14 |
<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
|
15 |
<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
|
16 |
<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
|
17 |
<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
|
18 |
</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
|
19 |
</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
|
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 |
<!-- |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
22 |
** TARGET DEFINITIONS |
9 | 23 |
--> |
24 |
||
25 |
<target name="sf-prep" depends="sf-generate-source-spec, prep-drive,init-build-area,check-tool-dependencies,create-bom,log-build-env"> |
|
26 |
<echo>[SF-PREP]</echo> |
|
27 |
<tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/> |
|
28 |
</target> |
|
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
29 |
|
9 | 30 |
<target name="sf-build-all" depends="sf-prebuild,sf-build-noprep,sf-postbuild"> |
31 |
<echo>[SF-BUILD-ALL]</echo> |
|
32 |
</target> |
|
33 |
||
34 |
<target name="sf-build" depends="sf-prep,sf-prebuild,sf-build-noprep,sf-postbuild"> |
|
35 |
<echo>[SF-BUILD]</echo> |
|
36 |
</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
|
37 |
|
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 |
<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
|
39 |
<!-- 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
|
40 |
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
|
41 |
<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
|
42 |
</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
|
43 |
|
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 |
<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
|
45 |
<!-- 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
|
46 |
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
|
47 |
<!-- TODO: 2. Change fmpp data to be a full property rather than relative path --> |
6 | 48 |
|
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
|
49 |
<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
|
50 |
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
|
51 |
<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
|
52 |
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
|
53 |
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
|
54 |
</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
|
55 |
</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
|
56 |
</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
|
57 |
|
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 |
<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
|
59 |
<echo>[SF-PREBUILD]</echo> |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
60 |
|
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
|
61 |
<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
|
62 |
<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
|
63 |
<then> |
11
5a54277d3867
Enabled sf properties: sf.baseline.location and sf.baseline.getenv_options
dejianmeng@d070750.prod.ad.symbian.intra
parents:
9
diff
changeset
|
64 |
<property name="base_release.path" value="${sf.spec.baseline.location}"/> |
5a54277d3867
Enabled sf properties: sf.baseline.location and sf.baseline.getenv_options
dejianmeng@d070750.prod.ad.symbian.intra
parents:
9
diff
changeset
|
65 |
<property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/> |
5a54277d3867
Enabled sf properties: sf.baseline.location and sf.baseline.getenv_options
dejianmeng@d070750.prod.ad.symbian.intra
parents:
9
diff
changeset
|
66 |
<echo>base_release.path=${base_release.path}, base_release.getenv_options=${base_release.getenv_options}</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
|
67 |
<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
|
68 |
</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
|
69 |
</if> |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
70 |
|
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
|
71 |
<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
|
72 |
<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
|
73 |
<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
|
74 |
<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
|
75 |
</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
|
76 |
</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
|
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 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
79 |
<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
|
80 |
<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
|
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 |
|
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
|
83 |
<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
|
84 |
<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
|
85 |
</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
|
86 |
|
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 |
<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
|
88 |
<!-- 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
|
89 |
<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
|
90 |
<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
|
91 |
<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
|
92 |
<!--<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
|
93 |
</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
|
94 |
</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
|
95 |
|
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 |
<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
|
98 |
<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
|
99 |
</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
|
100 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
5
diff
changeset
|
101 |
|
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
102 |
</project> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
103 |
|
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
104 |