author | Brendan Donegan brendand@symbian.org |
Tue, 29 Sep 2009 13:21:22 +0100 | |
changeset 533 | 12ef15ce2682 |
parent 312 | 97c01977a87b |
child 584 | 920441a385c6 |
permissions | -rw-r--r-- |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
1 |
<?xml version="1.0"?> |
17
c677077df18c
Fix FMPP template to allow multiple repositories
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
7
diff
changeset
|
2 |
<project name="SF-SOURCESPEC" default="all" xmlns:hlm="http://www.nokia.com/helium"> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
3 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
4 |
<#assign fileset = "" /> |
34
c10840c6fcbb
Update Platform Config to build tools2 before tools - which must be run in single thread. Also update sync template to sync in parallel.
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
17
diff
changeset
|
5 |
<#assign sync_list = "" /> |
68 | 6 |
<#assign bom_list = "" /> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
7 |
<#assign dollar = "$"/> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
8 |
<#assign count = 0 /> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
9 |
|
312
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
10 |
<#if ("${ant['sf.spec.sourcesync.archive']}")??> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
11 |
<#if "${ant['sf.spec.sourcesync.archive']}" == "true"> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
12 |
<#assign fast_sync = true /> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
13 |
<#else> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
14 |
<#assign fast_sync = false /> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
15 |
</#if> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
16 |
<#else> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
17 |
<#assign fast_sync = false /> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
18 |
</#if> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
19 |
|
56
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
53
diff
changeset
|
20 |
<!-- remove previous version of BOM file (if exists) --> |
52
4db6721a5a24
Adding removal of sources.csv before populating it
DarioS@UK-DarioS.symbian.int
parents:
51
diff
changeset
|
21 |
<target name="reset-bom-sources-csv"> |
58
f5faa19dd3ed
Added the revision number, moved BOM folder under /logs/
DarioS@UK-DarioS.symbian.int
parents:
56
diff
changeset
|
22 |
<delete file="${ant['build.drive']}/output/logs/BOM/sources.csv" quiet="true"/> |
52
4db6721a5a24
Adding removal of sources.csv before populating it
DarioS@UK-DarioS.symbian.int
parents:
51
diff
changeset
|
23 |
</target> |
47
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
46
diff
changeset
|
24 |
|
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
25 |
<#list data as pkg_detail> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
26 |
<target name="sf-prebuild-${count}"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
27 |
<#if (count > 0) > |
17
c677077df18c
Fix FMPP template to allow multiple repositories
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
7
diff
changeset
|
28 |
<#assign fileset = "${fileset}" /> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
29 |
</#if> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
30 |
<sequential> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
31 |
<!-- create sf\layer dir --> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
32 |
<mkdir dir="${ant['build.drive']}${pkg_detail.dst}"/> |
312
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
33 |
<delete dir="${ant['build.drive']}${pkg_detail.dst}" failonerror="false" /> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
34 |
<!-- Don't use hg archive with tags, as we can have wildcards in the tags... --> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
35 |
<#if fast_sync && ("${pkg_detail.type}"!="tag") > |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
36 |
<!-- Identify the version on the cache first --> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
37 |
<exec executable="hg" dir="${pkg_detail.source}" outputproperty="sf.sourcesync.${count}.checksum"> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
38 |
<arg value="identify"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
39 |
<arg value="-i"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
40 |
<arg value="-r"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
41 |
<arg value="${pkg_detail.pattern}"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
42 |
</exec> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
43 |
<!-- hg archive on the version we found --> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
44 |
<exec executable="hg" dir="${pkg_detail.source}"> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
45 |
<arg value="archive"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
46 |
<arg value="-r"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
47 |
<arg value="${dollar}{sf.sourcesync.${count}.checksum}"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
48 |
<arg value="${ant['build.drive']}${pkg_detail.dst}"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
49 |
</exec> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
50 |
<#else> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
51 |
<exec executable="hg" dir="${ant['build.drive']}"> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
52 |
<arg value="clone"/> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
53 |
<arg value="-U"/> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
54 |
<arg value="${pkg_detail.source}"/> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
55 |
<arg value="${ant['build.drive']}${pkg_detail.dst}"/> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
56 |
</exec> |
312
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
57 |
|
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
58 |
<hlm:scm verbose="true" scmUrl="scm:hg:${pkg_detail.source}"> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
59 |
<!--hlm:checkout basedir="${ant['build.drive']}${pkg_detail.dst}"/--> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
60 |
<#if "${pkg_detail.type}"=="tag" > |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
61 |
<hlm:tags basedir="${ant['build.drive']}${pkg_detail.dst}" reference="hg.tags.id${dollar}{refid}"/> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
62 |
<hlm:update basedir="${ant['build.drive']}${pkg_detail.dst}"> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
63 |
<hlm:latestTag pattern="${pkg_detail.pattern}"> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
64 |
<hlm:tagSet refid="hg.tags.id${dollar}{refid}" /> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
65 |
</hlm:latestTag> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
66 |
</hlm:update> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
67 |
</#if> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
68 |
<#if "${pkg_detail.type}"== "changeset" || "${pkg_detail.type}"=="branch"> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
69 |
<hlm:update basedir="${ant['build.drive']}${pkg_detail.dst}"> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
70 |
<hlm:tag name="${pkg_detail.pattern}"/> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
71 |
</hlm:update> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
72 |
</#if> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
73 |
</hlm:scm> |
312
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
74 |
<exec executable="hg" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.${count}.checksum"> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
75 |
<arg value="identify"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
76 |
<arg value="-i"/> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
77 |
</exec> |
97c01977a87b
source syncing ftl - Added 'sf.spec.sourcesync.archive' preference to do 'hg archive' instead of 'hg sync'. If set and the repo sync is s'posed to be synced by tag it still does the slower clone+update behaviour.
MattD <mattd@symbian.org>
parents:
261
diff
changeset
|
78 |
</#if> |
68 | 79 |
</sequential> |
80 |
</target> |
|
81 |
||
82 |
<target name="sf-bom-info-${count}"> |
|
83 |
||
84 |
<sequential> |
|
56
68c06bb4fbe2
Added recording of baseline info in a BOM file
DarioS@UK-DarioS.symbian.int
parents:
53
diff
changeset
|
85 |
<!-- record info on source code repo/rev in BOM file --> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
86 |
<echo message="dir ${ant['build.drive']}${pkg_detail.dst} : ${dollar}{sf.sourcesync.${count}.checksum}"/> |
58
f5faa19dd3ed
Added the revision number, moved BOM folder under /logs/
DarioS@UK-DarioS.symbian.int
parents:
56
diff
changeset
|
87 |
<exec executable="cmd" output="${ant['build.drive']}/output/logs/BOM/sources.csv" append="true"> |
47
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
46
diff
changeset
|
88 |
<arg value="/c"/> |
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
46
diff
changeset
|
89 |
<arg value="echo"/> |
261
a0e85954c23c
Fix packaging issues. Released zips now delivered in zips\release folder.
Shabe Razvi <shaber@symbian.org>
parents:
232
diff
changeset
|
90 |
<arg value="${pkg_detail.source},${pkg_detail.dst},changeset,${dollar}{sf.sourcesync.${count}.checksum},${pkg_detail.sysdef}"/> |
47
d835e951a925
New implementation of generation of BOM sources.csv
DarioS@UK-DarioS.symbian.int
parents:
46
diff
changeset
|
91 |
</exec> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
92 |
</sequential> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
93 |
</target> |
68 | 94 |
|
95 |
||
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
96 |
<#assign fileset = "${fileset}" + "<fileset dir=\"${ant['build.drive']}${pkg_detail.dst}\" includes=\"${pkg_detail.sysdef}\"/>" /> |
68 | 97 |
<#assign sync_list = "${sync_list}" + "<runtarget target=\"sf-prebuild-${count}\"/>\n"/> |
98 |
<#assign bom_list = "${bom_list}" + "<runtarget target=\"sf-bom-info-${count}\"/>\n"/> |
|
17
c677077df18c
Fix FMPP template to allow multiple repositories
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
7
diff
changeset
|
99 |
<#assign count = count + 1 /> |
c677077df18c
Fix FMPP template to allow multiple repositories
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
7
diff
changeset
|
100 |
|
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
101 |
</#list> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
102 |
|
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
103 |
<path id="system.definition.files"> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
104 |
<fileset dir="${dollar}{sf.common.config.dir}/sysdefs" includes="*.sysdef.xml"/> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
105 |
${fileset} |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
106 |
</path> |
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
107 |
|
62 | 108 |
<target name="all" depends="reset-bom-sources-csv"> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
109 |
|
163
fc4460f54beb
Limit source parallelisation to NUMBER_OF_PROCESSORS
Shabe Razvi <shaber@symbian.org>
parents:
68
diff
changeset
|
110 |
<parallel threadCount="${ant['env.NUMBER_OF_PROCESSORS']}"> |
34
c10840c6fcbb
Update Platform Config to build tools2 before tools - which must be run in single thread. Also update sync template to sync in parallel.
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
17
diff
changeset
|
111 |
${sync_list} |
c10840c6fcbb
Update Platform Config to build tools2 before tools - which must be run in single thread. Also update sync template to sync in parallel.
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
17
diff
changeset
|
112 |
</parallel> |
c10840c6fcbb
Update Platform Config to build tools2 before tools - which must be run in single thread. Also update sync template to sync in parallel.
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
17
diff
changeset
|
113 |
|
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
114 |
<echo message="Adding BOM header"/> |
261
a0e85954c23c
Fix packaging issues. Released zips now delivered in zips\release folder.
Shabe Razvi <shaber@symbian.org>
parents:
232
diff
changeset
|
115 |
<mkdir dir="${ant['build.drive']}/output/logs/BOM/"/> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
116 |
<exec executable="cmd" output="${ant['build.drive']}/output/logs/BOM/sources.csv" append="true"> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
117 |
<arg value="/c"/> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
118 |
<arg value="echo"/> |
232 | 119 |
<arg value="source,dst,type,pattern,sysdef"/> |
231
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
120 |
</exec> |
c75afb49c4d3
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.
Shabe Razvi <shaber@symbian.org>
parents:
163
diff
changeset
|
121 |
|
68 | 122 |
${bom_list} |
123 |
||
34
c10840c6fcbb
Update Platform Config to build tools2 before tools - which must be run in single thread. Also update sync template to sync in parallel.
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
17
diff
changeset
|
124 |
</target> |
7
389e1e1f1583
Rename and move of generated source sync xml and also tidy up
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents:
diff
changeset
|
125 |
</project> |