compare ccase

Compares imported Engineering Workflow Management source control baselines with Rational® ClearCase® views and reports the differences.

Purpose

The compare command compares imported Engineering Workflow Management source control baselines with Rational ClearCase views and reports the differences.

Synopsis

  • To run ccc compare ccase supplying credentials on the command line:
    ccc compare ccase -r  |  --repository-uri ] repository URI -u  |  --username ] user ID in repository [ -P  |  --password ] password for user ID in repository ] [ --certificate ] login certificate [ --smartCardsmartcard ] [ -d  |  --dataDir ] data directory [ -i  |  --inputRoot ] input root [ -c  |  --component ] component [ -f  |  --folder ] folder [ --viewTags ] view tag [...] [  --viewTagsFile ] view tags file [ --baselinesbaseline [...] [ --baselinesFile ] baseline file [ --verifyMetadata ] metadata [...]  [ --verifyVersionHistory ] version history 
  • To run ccc compare ccase after you have used ccc login to create stored credentials:
    ccc compare ccase -r 
    |  --repository-uri ] repository URI or nickname
     [ -d  |  --dataDir ] data directory [ -i  |  --inputRoot ] input root [ -c  |  --component ] component [ -f  |  --folder ] folder [ --viewTags ] view tag [...] [  --viewTagsFile ] view tags file [ --baselinesbaseline [...] [ --baselinesFile ] baseline file [ --verifyMetadata ] metadata [...]  [ --verifyVersionHistory ] version history 
    Examples:
    • Specify the data directory:

      ccc compare ccase -r repo -c cl -d c:\501M2\log\exportSumSQuid5views --verifyMetadata true
    • Specify the baselines:

      ccc compare ccase -r repo -c c5 -i csun6_basevob --viewTags baseview --baselines 1042
    • Specify the view tags from a file and the baselines file:

      ccc compare ccase -r repo -c cl --folder 2002.05.00\YYIN_SQUID -i automation\tests\clearcase\suites\sum\squid\2002.05.00\YYIN_SQUID --viewTagsFile c:\501m2\5viewstag.txt --baselinesFilec:\501m2\5bls.txt
    • Specify the metadata to verify:

      ccc compare ccase -r repo -c cl -i M:\export801\automation\tests\clearcase\squid --verifyMetadata true 
    • Specify the view tags, version history to verify, and the baseline:

      ccc compare ccase -r repo -c cl -i automation\tests\clearcase\suites\sum\squid --viewTags export801 --verifyVersionHistory true --baselines export801

Options and arguments

-r  |  --repository-uri ] repository URI
Specifies the repository in which to take this action. If you have stored repository credentials using the ccc login command, you can use the nickname that you supplied for these stored credentials.
-u  |  --username ] user ID in repository
Specifies a user ID that exists in the named repository. If you specified a repository URI or nickname for which you have stored credentials using the ccc login command, this option is ignored.
-P  |  --password ] password for user ID in repository
The password for the specified user ID in the named repository. If this option is not included on the command line, you are prompted for a password. If you specified a repository URI or nickname for which you have stored credentials using the ccc login command, this option is ignored.
--certificate ] login certificate
Specifies the file that contains the login SSL certificate for the user.
--smartCard ]
Use the connected smart card for authentication.
-d  |  --dataDir ] data directory
The directory from which to import data.
-i  |  --inputRoot ] input root
The root path in Rational ClearCase to compare. When the --viewTags or --viewTagsFile is specified, the value has to be a relative path to the Rational ClearCase dynamic view under a VOB root. Otherwise, it must be an absolute path to a folder or a file in a dynamic view. In UNIX or Linux®, the inputRoot arg value must start with /view and cannot be a relative path name. For example, /view/aClearCaseView/vobs/aClearCaseVob/aFolder. In Windows, the inputRoot arg value must start with M. It cannot start with any other drive letter, even if you have the view that is mounted on a different drive letter. For example, M:\aClearCaseView\aClearCaseVob\aFolder.
-c  |  --component ] component
The Engineering Workflow Management source control component to which to compare. To specify the component, use its name, alias, or UUID.
-f  |  --folder ] folder
The folder path in Engineering Workflow Management source control to which to compare (optional). It is a relative path to the specific Engineering Workflow Management source control component. The ClearCase VOB data is imported to the component root if this option is not specified.
--viewTags space-separated list
The Rational ClearCase dynamic view tags with configurations that are imported as Engineering Workflow Management baselines (optional).
--viewTagsFile view tags file
The path to the text file that contains Rational ClearCase dynamic view tags in each line (optional).
--baselines baseline
The space-separated Engineering Workflow Management baselines to which to compare (optional). To specify the baseline, use its name, alias, or UUID.
--baselinesFile baseline file
The path to the text file that contains the Engineering Workflow Management baselines in each line (optional). To specify the baseline, use its name, alias or UUID.
--verifyMetadata version metadata
Compare version metadata when this is set "true" (optional). Skip comparing version metadata otherwise. The default value is true.
--verifyVersionHistory versions in history
Compare versions in history when this is set "true." Compare versions selected by the Rational ClearCase view and Engineering Workflow Management baseline otherwise. The default value is false.