| author | darios@symbian.org |
| Thu, 28 May 2009 15:03:22 +0100 | |
| changeset 15 | 45ed0efeb8a4 |
| parent 10 | c1cbd33e46c0 |
| child 16 | e1b9f78cef38 |
| 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"> |
38 |
<echo message="Getting sf helium configuration from repository ${sf.config.repo}"/>
|
|
39 |
<hlm:scm verbose="true" scmUrl="scm:hg:${sf.config.repo}">
|
|
40 |
<hlm:checkout basedir="${sf.target.dir}/sf-config"/>
|
|
41 |
<hlm:tags basedir="${sf.target.dir}/sf-config" reference="hg.tags.id${refid}"/>
|
|
42 |
<hlm:update basedir="${sf.target.dir}/sf-config">
|
|
43 |
<hlm:latestTag pattern="${sf.config.rev}">
|
|
44 |
<hlm:tagSet refid="hg.tags.id${refid}"/>
|
|
45 |
</hlm:latestTag> |
|
46 |
</hlm:update> |
|
47 |
</hlm:scm> |
|
48 |
</target> |
|
|
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
49 |
|
| 9 | 50 |
<target name="get-sf-project"> |
51 |
<echo message="Getting project configuration${sf.project.repo}"/>
|
|
52 |
<hlm:scm verbose="true" scmUrl="scm:hg:${sf.project.repo}">
|
|
53 |
<hlm:checkout basedir="${sf.target.dir}/build/config"/>
|
|
54 |
<hlm:tags basedir="${sf.target.dir}/build/config" reference="hg.tags.id${refid}"/>
|
|
55 |
<hlm:update basedir="${sf.target.dir}/build/config">
|
|
56 |
<hlm:latestTag pattern="${sf.project.rev}">
|
|
57 |
<hlm:tagSet refid="hg.tags.id${refid}"/>
|
|
58 |
</hlm:latestTag> |
|
59 |
</hlm:update> |
|
60 |
</hlm:scm> |
|
61 |
</target> |
|
|
1
ebb0926c7024
Update with latest changes
shaberazvi@L063442.prod.ad.symbian.intra
parents:
0
diff
changeset
|
62 |
|
|
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
|
63 |
|
|
0
d1c51edcc657
Initial drop of FBF bootstrap
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
64 |
</project> |