<cclabelreport> Task
Task to report on the contents of a ClearCase label and generate a formatted XML output.

This task allows you to generate an XML output of the contents of a ClearCase label. For elements that have changed, their version number will be displayed, for elements that have been removed, their name only will be displayed.

Attribute Description Type Requirement
failonerror Sets whether to fail with a build exception on error, or continue.
Default is false.
boolean Optional
labelselector The name of the label. String Required
startlocation The directory to start searching from. Can be used to specify a view and VOB location.
Default is "."
String Optional
outfile The name of the XML output file to be created. String Required
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

The following snippet will find the contents of the ClearCase label REL1 and output the contents to the file cclabelreport.xml. It will the use Ant's <style> task to generate a HTML file:

    <project name="test" default="label-report" 
         <target name="label-report">
             <ca:cclabelreport labelselector="REL1@\Projects"  
             <style in="cclabelreport.xml" 

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