author | Dario Sestito <darios@symbian.org> |
Fri, 26 Jun 2009 17:08:28 +0100 | |
changeset 21 | 4b02facbff8f |
parent 20 | 78c3f68f39f1 |
child 24 | ed4e68942437 |
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"/> |
21
4b02facbff8f
Changed path to take account of new bishare alias
Dario Sestito <darios@symbian.org>
parents:
20
diff
changeset
|
50 |
<hlm:tags basedir="${sf.target.dir}/sf-config" reference="hg.tags.id1"/> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
51 |
<hlm:update 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
|
52 |
<hlm:latestTag pattern="${sf.config.rev}"> |
21
4b02facbff8f
Changed path to take account of new bishare alias
Dario Sestito <darios@symbian.org>
parents:
20
diff
changeset
|
53 |
<hlm:tagSet refid="hg.tags.id1"/> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
54 |
</hlm:latestTag> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
55 |
</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
|
56 |
</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
|
57 |
</else> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
58 |
</if> |
9 | 59 |
</target> |
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
60 |
|
9 | 61 |
<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
|
62 |
<if> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
63 |
<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
|
64 |
<then> |
20
78c3f68f39f1
Fixed misspelled var for project.dir
Dario Sestito <darios@symbian.org>
parents:
16
diff
changeset
|
65 |
<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
|
66 |
<copy todir="${sf.target.dir}/build/config"> |
20
78c3f68f39f1
Fixed misspelled var for project.dir
Dario Sestito <darios@symbian.org>
parents:
16
diff
changeset
|
67 |
<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
|
68 |
</copy> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
69 |
</then> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
70 |
<else> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
71 |
<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
|
72 |
<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
|
73 |
<hlm:checkout basedir="${sf.target.dir}/build/config"/> |
21
4b02facbff8f
Changed path to take account of new bishare alias
Dario Sestito <darios@symbian.org>
parents:
20
diff
changeset
|
74 |
<hlm:tags basedir="${sf.target.dir}/build/config" reference="hg.tags.id2"/> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
75 |
<hlm:update 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
|
76 |
<hlm:latestTag pattern="${sf.project.rev}"> |
21
4b02facbff8f
Changed path to take account of new bishare alias
Dario Sestito <darios@symbian.org>
parents:
20
diff
changeset
|
77 |
<hlm:tagSet refid="hg.tags.id2"/> |
16
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
78 |
</hlm:latestTag> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
79 |
</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
|
80 |
</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
|
81 |
</else> |
e1b9f78cef38
Project spec and config to be taken from a dir instead of from a repo
darios@symbian.org
parents:
10
diff
changeset
|
82 |
</if> |
9 | 83 |
</target> |
1
ebb0926c7024
Update with latest changes
shaberazvi@L063442.prod.ad.symbian.intra
parents:
0
diff
changeset
|
84 |
|
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
|
85 |
|
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
86 |
</project> |