equal
deleted
inserted
replaced
|
1 <?xml version="1.0"?> |
|
2 <project name="hg-prep" default="all" xmlns:hlm="http://www.nokia.com/helium"> |
|
3 <property environment="env"/> |
|
4 |
|
5 <taskdef name="scm" classname="com.nokia.helium.scm.ant.taskdefs.ScmTask" uri="http://www.nokia.com/helium" /> |
|
6 <typedef name="latestTag" classname="com.nokia.helium.scm.ant.types.LatestTag" uri="http://www.nokia.com/helium" /> |
|
7 <typedef name="tagSet" classname="com.nokia.helium.scm.ant.types.TagSet" uri="http://www.nokia.com/helium" /> |
|
8 |
|
9 |
|
10 <target name="all"> |
|
11 |
|
12 <parallel threadCount="${ant['threads']}"> |
|
13 <#assign refid=0/> |
|
14 <#list data as d> |
|
15 <sequential> |
|
16 <delete dir="${ant['build.drive']}${d.dst}" failonerror="false"/> |
|
17 <mkdir dir="${ant['build.drive']}${d.dst}"/> |
|
18 <hlm:scm verbose="true" scmUrl="scm:hg:${d.source}"> |
|
19 <hlm:checkout basedir="${ant['build.drive']}${d.dst}"/> |
|
20 |
|
21 <hlm:tags basedir="${ant['build.drive']}${d.dst}" reference="hg.tags.id${refid}"/> |
|
22 |
|
23 <hlm:update basedir="${ant['build.drive']}${d.dst}"> |
|
24 <hlm:latestTag pattern="${d.tag}"> |
|
25 <hlm:tagSet refid="hg.tags.id${refid}" /> |
|
26 </hlm:latestTag> |
|
27 </hlm:update> |
|
28 </hlm:scm> |
|
29 </sequential> |
|
30 <#assign refid=refid + 1/> |
|
31 </#list> |
|
32 </parallel> |
|
33 </target> |
|
34 |
|
35 <import file="${ant['helium.dir']}/helium.ant.xml"/> |
|
36 </project> |