<ccblreport> Task
Task to report on the contents of ClearCase baselines and generate a formatted XML output.
 
Description

This task allows you to generate an XML output of the contents of a ClearCase baseline. Information on activities, contributor activities and activity versions can all be output.

Parameters
Attribute Description Type Requirement
failonerror Sets whether to fail with a build exception on error, or continue.
Default is false.
boolean Optional
baselineselector The name of the baseline. String Required
outfile The name of the XML output file to be created. String Required
versions Specifies whether versions as well as activities will be output.
Default is false.
boolean Optional
contributors Specifies whether contributor activities will be output.
Default is false.
boolean Optional
xmlheader Used to specify an XML header will be output. boolean Optional
dtduri Used to specify a XML DTD to validate the resultant XML file against. String Optional
 
Examples

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>

Copyright 2000-2006, Kevin Lee, Portions Apache Software Foundation