Comparing a Class to a Version in the SCM Repository (Windows)

After you have checked a class or interface out of an external SCM tool's repository, and made changes to it in VisualAge for Java, you may want to compare the edition of the class that is in your workspace to a previous one in the SCM tool's repository.

  1. From the Workbench window, select the class or interface.
  2. From the pop-up menu, select Tools > External SCM > Compare. VisualAge for Java passes the class name to the SCM tool for validation. If there are no problems, the class is automatically exported from the VisualAge for Java repository to the file system on your workstation, in the work directory that you specified when you set your SCM connection parameters. (This step is required by the SCM tools, which work with files rather than with the object-based repository of VisualAge for Java.)

If the automatic export step is successful, VisualAge for Java invokes the compare function of your SCM software program. If the export is not successful, confirm that you have checked the class out of the SCM repository. (If the file is checked in, the file status in the work directory is read-only.)

ngrelc.gif (533 bytes)
External SCM Tools (Windows)

ngrelt.gif (466 bytes)
Preparing to Use an External SCM Tool (Windows)
Setting Your SCM Connection Parameters (Windows)
Adding Classes to the SCM Repository (Windows)
Checking Classes Out from an External SCM Tool (Windows)
Checking Classes In with an External SCM Tool (Windows)
Launching Your SCM Program (Windows)
Exporting Source Code to the File System
Displaying SCM History (Windows)