equal
deleted
inserted
replaced
4 <#assign fileset = "" /> |
4 <#assign fileset = "" /> |
5 <#assign target_depends = "" /> |
5 <#assign target_depends = "" /> |
6 <#assign dollar = "$"/> |
6 <#assign dollar = "$"/> |
7 <#assign count = 0 /> |
7 <#assign count = 0 /> |
8 |
8 |
|
9 <!-- remove previous version of BOM file (if exists) --> |
9 <target name="reset-bom-sources-csv"> |
10 <target name="reset-bom-sources-csv"> |
10 <delete file="${ant['build.drive']}/output/BOM/sources.csv" quiet="true"/> |
11 <delete file="${ant['build.drive']}/output/BOM/sources.csv" quiet="true"/> |
11 </target> |
12 </target> |
12 |
13 |
13 <#list data as pkg_detail> |
14 <#list data as pkg_detail> |
26 <hlm:tagSet refid="hg.tags.id${dollar}{refid}" /> |
27 <hlm:tagSet refid="hg.tags.id${dollar}{refid}" /> |
27 </hlm:latestTag> |
28 </hlm:latestTag> |
28 </hlm:update> |
29 </hlm:update> |
29 </hlm:scm> |
30 </hlm:scm> |
30 |
31 |
31 <!-- record info on source code repo/rev --> |
32 <!-- record info on source code repo/rev in BOM file --> |
32 <exec executable="hg" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.${count}.rev"> |
33 <exec executable="hg" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.${count}.rev"> |
33 <arg value="identify"/> |
34 <arg value="identify"/> |
34 <arg value="-i"/> |
35 <arg value="-i"/> |
35 </exec> |
36 </exec> |
36 <echo message="dir ${ant['build.drive']}${pkg_detail.dst} : revision ${dollar}{sf.sourcesync.${count}.rev}"/> |
37 <echo message="dir ${ant['build.drive']}${pkg_detail.dst} : revision ${dollar}{sf.sourcesync.${count}.rev}"/> |