common/templates/source-spec.ant.xml.ftl
changeset 46 34dc6e6caaa4
parent 17 c677077df18c
child 47 d835e951a925
equal deleted inserted replaced
45:8097e627da46 46:34dc6e6caaa4
    20                 <hlm:update basedir="${ant['build.drive']}${pkg_detail.dst}">
    20                 <hlm:update basedir="${ant['build.drive']}${pkg_detail.dst}">
    21                     <hlm:latestTag pattern="${pkg_detail.tag}">
    21                     <hlm:latestTag pattern="${pkg_detail.tag}">
    22                         <hlm:tagSet refid="hg.tags.id${dollar}{refid}" />
    22                         <hlm:tagSet refid="hg.tags.id${dollar}{refid}" />
    23                     </hlm:latestTag>
    23                     </hlm:latestTag>
    24                 </hlm:update>
    24                 </hlm:update>
       
    25                 <exec command="hg identify -n" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.repo.n"/>
       
    26                 <exec command="hg identify -i" dir="${ant['build.drive']}${pkg_detail.dst}" outputproperty="sf.sourcesync.repo.i"/>
       
    27                 <echo message="dir ${ant['build.drive']}${pkg_detail.dst} : revision ${sf.sourcesync.repo.n}:${sf.sourcesync.repo.i}"/>
    25             </hlm:scm>
    28             </hlm:scm>
    26         </sequential>
    29         </sequential>
    27     </target>
    30     </target>
    28     <#assign fileset = "${fileset}" + "<fileset dir=\"${ant['build.drive']}${pkg_detail.dst}\" includes=\"${pkg_detail.pattern}\"/>" />
    31     <#assign fileset = "${fileset}" + "<fileset dir=\"${ant['build.drive']}${pkg_detail.dst}\" includes=\"${pkg_detail.pattern}\"/>" />
    29     
    32