33 <echo message="cleaning up the environment" /> |
33 <echo message="cleaning up the environment" /> |
34 <delete dir="${sf.target.dir}/" /> |
34 <delete dir="${sf.target.dir}/" /> |
35 </target> |
35 </target> |
36 |
36 |
37 <target name="get-sf-config"> |
37 <target name="get-sf-config"> |
38 <echo message="Getting sf helium configuration from repository ${sf.config.repo}"/> |
38 <if> |
39 <hlm:scm verbose="true" scmUrl="scm:hg:${sf.config.repo}"> |
39 <isset property="sf.config.dir"/> |
40 <hlm:checkout basedir="${sf.target.dir}/sf-config"/> |
40 <then> |
41 <hlm:tags basedir="${sf.target.dir}/sf-config" reference="hg.tags.id${refid}"/> |
41 <echo message="Getting FBF configuration from dir ${sf.config.dir}"/> |
42 <hlm:update basedir="${sf.target.dir}/sf-config"> |
42 <copy todir="${sf.target.dir}/sf-config"> |
43 <hlm:latestTag pattern="${sf.config.rev}"> |
43 <fileset dir="${sf.config.dir}"/> |
44 <hlm:tagSet refid="hg.tags.id${refid}"/> |
44 </copy> |
45 </hlm:latestTag> |
45 </then> |
46 </hlm:update> |
46 <else> |
47 </hlm:scm> |
47 <echo message="Getting FBF configuration from repository ${sf.config.repo}"/> |
|
48 <hlm:scm verbose="true" scmUrl="scm:hg:${sf.config.repo}"> |
|
49 <hlm:checkout basedir="${sf.target.dir}/sf-config"/> |
|
50 <hlm:tags basedir="${sf.target.dir}/sf-config" reference="hg.tags.id${refid}"/> |
|
51 <hlm:update basedir="${sf.target.dir}/sf-config"> |
|
52 <hlm:latestTag pattern="${sf.config.rev}"> |
|
53 <hlm:tagSet refid="hg.tags.id${refid}"/> |
|
54 </hlm:latestTag> |
|
55 </hlm:update> |
|
56 </hlm:scm> |
|
57 </else> |
|
58 </if> |
48 </target> |
59 </target> |
49 |
60 |
50 <target name="get-sf-project"> |
61 <target name="get-sf-project"> |
51 <echo message="Getting project configuration${sf.project.repo}"/> |
62 <if> |
52 <hlm:scm verbose="true" scmUrl="scm:hg:${sf.project.repo}"> |
63 <isset property="sf.project.dir"/> |
53 <hlm:checkout basedir="${sf.target.dir}/build/config"/> |
64 <then> |
54 <hlm:tags basedir="${sf.target.dir}/build/config" reference="hg.tags.id${refid}"/> |
65 <echo message="Getting FBF project from dir ${sf.config.dir}"/> |
55 <hlm:update basedir="${sf.target.dir}/build/config"> |
66 <copy todir="${sf.target.dir}/build/config"> |
56 <hlm:latestTag pattern="${sf.project.rev}"> |
67 <fileset dir="${sf.config.dir}"/> |
57 <hlm:tagSet refid="hg.tags.id${refid}"/> |
68 </copy> |
58 </hlm:latestTag> |
69 </then> |
59 </hlm:update> |
70 <else> |
60 </hlm:scm> |
71 <echo message="Getting FBF project from repository ${sf.project.repo}"/> |
|
72 <hlm:scm verbose="true" scmUrl="scm:hg:${sf.project.repo}"> |
|
73 <hlm:checkout basedir="${sf.target.dir}/build/config"/> |
|
74 <hlm:tags basedir="${sf.target.dir}/build/config" reference="hg.tags.id${refid}"/> |
|
75 <hlm:update basedir="${sf.target.dir}/build/config"> |
|
76 <hlm:latestTag pattern="${sf.project.rev}"> |
|
77 <hlm:tagSet refid="hg.tags.id${refid}"/> |
|
78 </hlm:latestTag> |
|
79 </hlm:update> |
|
80 </hlm:scm> |
|
81 </else> |
|
82 </if> |
61 </target> |
83 </target> |
62 |
84 |
63 |
85 |
64 </project> |
86 </project> |