author | Dario Sestito <darios@symbian.org> |
Thu, 30 Jul 2009 18:14:55 +0100 | |
changeset 33 | 4d7642508510 |
parent 26 | 4f2349a6289f |
child 63 | be578de158ab |
permissions | -rw-r--r-- |
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
2 |
<project name="SF-BOOTSTRAP" default="bootstrap" xmlns:hlm="http://www.nokia.com/helium"> |
7
e042f0022639
Fixed to enable the temp directory to be created in the right place, and avoid cluttering up the CWD.
Simon Howkins <simonh@symbian.org>
parents:
4
diff
changeset
|
3 |
|
9 | 4 |
<property environment="env"/> |
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
5 |
|
9 | 6 |
<dirname property="sf.bootstrap.dir" file="${ant.file.SF-CONFIG}"/> |
7 |
||
10
c1cbd33e46c0
reintroduced import of helium.ant.xml as it was generating diamonds warnings
BuildAdmin@LON-ENGBUILD89
parents:
9
diff
changeset
|
8 |
<import file="${helium.dir}/helium.ant.xml" /> |
c1cbd33e46c0
reintroduced import of helium.ant.xml as it was generating diamonds warnings
BuildAdmin@LON-ENGBUILD89
parents:
9
diff
changeset
|
9 |
|
9 | 10 |
<!-- target dir --> |
11 |
<property name="bootstrap.base.dir" value="D:\fbf_project"/> <!-- old name --> |
|
12 |
<property name="sf.target.dir" value="${bootstrap.base.dir}"/> |
|
13 |
||
14 |
<!-- config --> |
|
15 |
<property name="sf.config.repo" value="${sf.config.repository}"/> <!-- old name --> |
|
16 |
<property name="sf.config.rev" value="tip"/> |
|
17 |
<echo message="config: repo=${sf.config.repo} rev=${sf.config.rev}"/> |
|
18 |
||
19 |
<!-- project --> |
|
20 |
<property name="sf.project.repo" value="${platform.config.repository}"/> <!-- old name --> |
|
21 |
<property name="sf.project.rev" value="tip"/> |
|
22 |
<echo message="project: repo=${sf.project.repo} rev=${sf.project.rev}"/> |
|
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
23 |
|
9 | 24 |
<target name="bootstrap" depends="init,get-sf-config,get-sf-project" /> |
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
25 |
|
9 | 26 |
<target name="init"> |
27 |
<mkdir dir="${sf.target.dir}" /> |
|
28 |
<mkdir dir="${sf.target.dir}/build" /> |
|
29 |
<mkdir dir="${sf.target.dir}/build/config" /> |
|
30 |
</target> |
|
31 |
||
32 |
<target name="clean-env"> |
|
33 |
<echo message="cleaning up the environment" /> |
|
34 |
<delete dir="${sf.target.dir}/" /> |
|
35 |
</target> |
|
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
36 |
|
9 | 37 |
<target name="get-sf-config"> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
38 |
<if> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
39 |
<isset property="sf.config.dir"/> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
40 |
<then> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
41 |
<echo message="Getting FBF configuration from dir ${sf.config.dir}"/> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
42 |
<copy todir="${sf.target.dir}/sf-config"> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
43 |
<fileset dir="${sf.config.dir}"/> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
44 |
</copy> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
45 |
</then> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
46 |
<else> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
47 |
<echo message="Getting FBF configuration from repository ${sf.config.repo}"/> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
48 |
<hlm:scm verbose="true" scmUrl="scm:hg:${sf.config.repo}"> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
49 |
<hlm:checkout basedir="${sf.target.dir}/sf-config"/> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
50 |
<hlm:update basedir="${sf.target.dir}/sf-config"> |
26
4f2349a6289f
Fixed stray curly bracket
Dario Sestito <darios@symbian.org>
parents:
24
diff
changeset
|
51 |
<hlm:tag name="${sf.config.rev}"/> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
52 |
</hlm:update> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
53 |
</hlm:scm> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
54 |
</else> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
55 |
</if> |
9 | 56 |
</target> |
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
57 |
|
9 | 58 |
<target name="get-sf-project"> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
59 |
<if> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
60 |
<isset property="sf.project.dir"/> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
61 |
<then> |
20
78c3f68f39f1
Fixed misspelled var for project.dir
Dario Sestito <darios@symbian.org>
parents:
16
diff
changeset
|
62 |
<echo message="Getting FBF project from dir ${sf.project.dir}"/> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
63 |
<copy todir="${sf.target.dir}/build/config"> |
20
78c3f68f39f1
Fixed misspelled var for project.dir
Dario Sestito <darios@symbian.org>
parents:
16
diff
changeset
|
64 |
<fileset dir="${sf.project.dir}"/> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
65 |
</copy> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
66 |
</then> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
67 |
<else> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
68 |
<echo message="Getting FBF project from repository ${sf.project.repo}"/> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
69 |
<hlm:scm verbose="true" scmUrl="scm:hg:${sf.project.repo}"> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
70 |
<hlm:checkout basedir="${sf.target.dir}/build/config"/> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
71 |
<hlm:update basedir="${sf.target.dir}/build/config"> |
24
ed4e68942437
Allow revisions for projects and configs
Dario Sestito <darios@symbian.org>
parents:
21
diff
changeset
|
72 |
<hlm:tag name="${sf.project.rev}"/> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
73 |
</hlm:update> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
74 |
</hlm:scm> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
75 |
</else> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
76 |
</if> |
9 | 77 |
</target> |
1
ebb0926c7024
Update with latest changes
shaberazvi@L063442.prod.ad.symbian.intra
parents:
0
diff
changeset
|
78 |
|
4
5a8eb3466f9f
Remove template and fmmp generation from bootstrap. Use sourcefile definition from project spec.
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
3
diff
changeset
|
79 |
|
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
80 |
</project> |