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

This task allows you to generate an XML output of the ClearCase elements that have been added, removed or changed between two baselines.

Parameters
Attribute Description Type Requirement
failonerror Sets whether to fail with a build exception on error, or continue.
Default is false.
boolean Optional
baselineselector1 The name of the first label. String Required
baselineselector2 The name of the second label. String Required
outfile The name of the XML output file to be created. String Required
predecessor Compare baselineselector1 with its predecessor. String Optional
versions Specifies whether versions as well as 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 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>

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