Comparing Files Checked In to ClearCase

Use these procedures to compare versions of files that are under ClearCase source control. You can compare a file with:

You can choose which Compare Viewer to use (JDeveloper or ClearCase), by setting an option on the ClearCase Version Tools preference page under Toolsthen choose Preferences.

To compare a file with its immediate predecessor:

If there are no differences, a message is displayed. Otherwise, a Compare Viewer is displayed through which you can find and reconcile the differences.

To compare a file with another revision:

  1. With the file selected in the Application Navigator, choose Versioningthen choose Compare.
  2. Ensure that the Predecessor File Revision option is chosen.

    Previous versions of the file are listed in the Compare ClearCase File dialog.

  3. Select the version you want to compare the current file with and click OK.

If there are no differences, a message is displayed. Otherwise, a Compare Viewer is displayed through which you can find and reconcile the differences.

To compare a file with a file outside ClearCase source control:

  1. With the file selected in the Application Navigator, choose Filethen choose Compare Withthen choose Other File.

    The Select File to Compare With dialog is opened.

  2. Browse to and select the file you want to compare the current file with and click Open.

Using Rational ClearCase With JDeveloper