The following snippet will find the added changed and removed
files and versions between the ClearCase baselines REL2 and
its predecessor (probably REL1) and output the contents to
the file ccdiffblreport.xml. It will then use Ant's <style>
task to generate a HTML file:
<project name="test" default="bl-report"
xmlns:ca="antlib:net.sourceforge.clearantlib">
<target name="bl-report">
<ca:ccdiffblreport baselineselector1="REL2@\Projects"
predecessor="true"
outfile="ccdiffblreport.xml"
failonerror="true"/>
<style in="ccdiffblreport.xml"
out="ccdiffblreport.html"
style="etc/ccdiffblreport.xsl">
</style>
</target>
</project> |