The following snippet will find the changed and removed files and
versions between the ClearCase labels REL1 and REL2
and output the contents to the file ccdifflabelreport.xml. It
will the use Ant's <style> task to generate a HTML
file:
<project name="test" default="label-report"
xmlns:ca="antlib:net.sourceforge.clearantlib">
<target name="label-report">
<ca:ccdifflabelreport labelselector1="REL1@\Projects"
labelselector2="REL2@\Projects"
outfile="ccdifflabelreport.xml"
failonerror="true"/>
<style in="ccdifflabelreport.xml"
out="ccdifflabelreport.html"
style="etc/ccdifflabelreport.xsl">
</style>
</target>
</project> |