author | dariosestito@L063522.prod.ad.symbian.intra |
Mon, 30 Mar 2009 12:07:32 +0100 | |
changeset 41 | f137ddbb714d |
child 42 | b6e2360f1ab4 |
permissions | -rw-r--r-- |
41
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
1 |
<?xml version="1.0"?> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
2 |
<project name="SF-TAG-HG-CODE" default="all" xmlns:hlm="http://www.nokia.com/helium"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
3 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
4 |
<#assign target_depends = "" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
5 |
<#assign count = 0 /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
6 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
7 |
<#list data as pkg_detail> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
8 |
<target name="sf-tag-hg-code-${count}"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
9 |
<sequential> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
10 |
<hlm:scm verbose="true" scmUrl="scm:hg:${pkg_detail.source}"> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
11 |
<hlm:tag basedir="${ant['sf.spec.job.drive']}${pkg_detail.dst}" name="${ant['sf.tagafterbuild.tag']}" level="local"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
12 |
</hlm:scm> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
13 |
</sequential> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
14 |
</target> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
15 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
16 |
<#if (count == 0) > |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
17 |
<#assign target_depends = "${target_depends}" + "sf-tag-hg-code-${count}" /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
18 |
</#if> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
19 |
<#if (count > 0) > |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
20 |
<#assign target_depends ="${target_depends}" + ","+"sf-tag-hg-code-${count}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
21 |
</#if> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
22 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
23 |
<#assign count = count + 1 /> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
24 |
</#list> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
25 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
26 |
<target name="all" depends="${target_depends}"/> |
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
27 |
|
f137ddbb714d
Added tagging of source code used in the build
dariosestito@L063522.prod.ad.symbian.intra
parents:
diff
changeset
|
28 |
</project> |