<ccdifflabelreport> Task
Task to perform ClearCase difference between labels and generate a formatted XML output.
 
Description

This task allows you to generate an XML output of the files that have been removed or changed between two labels. For elements that have changed, their version number will be displayed, for elements that have been removed, their name only will be displayed.

Parameters
Attribute Description Type Requirement
failonerror Sets whether to fail with a build exception on error, or continue.
Default is false.
boolean Optional
labelselector1 The name of the first label. String Required
labelselector2 The name of the second 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
 
Examples

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>

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