The following snippet will produce a report on the contents of
the ClearCase baseline REL1 and output the contents to
the file ccblreport.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:ccblreport baselineselector="REL1@\Projects"
contributors="true"
versions="true"
outfile="ccblreport.xml"
failonerror="true"/>
<style in="ccblreport.xml"
out="ccblreport.html"
style="etc/ccblreport.xsl">
</style>
</target>
</project>
|