Launching IBM® Rational® Rhapsody® DiffMerge inside IBM Rational Rhapsody is
particularly useful if you want to compare one version of an archived
unit quickly with another version of the unit inside or outside the
archive.
You can quickly compare the two units using
Rational Rhapsody DiffMerge inside
Rational Rhapsody because
you already have
Rational Rhapsody and
the configuration management system open.
Follow
these rules for the units being compared:
- Both units must be stored as separate files in
a configuration management system, such as IBM Rational ClearCase®.
- Units must be the same type and have the same name
since you select only one unit name to set up the comparison.
About this task
When starting Rational Rhapsody DiffMerge from
inside Rational Rhapsody,
you can compare two units in either of these environments:
- An archived version of the unit with the version
currently displayed in Rational Rhapsody
- Two archived versions
Rational Rhapsody works
with any configuration management archive in Microsoft Common Source Code Control (SCC)
mode or other tools in batch mode. Rational Rhapsody developers
can use any of the following configuration management tools to manage
their source files:
Note: For Linux users,
you can use batch mode configuration management, and
IBM Rational ClearCase.
Rational ClearCase is
supported in Linux.
Procedure
- Be certain that your source control archive
is accessible from the computer you are using for this comparison.
- Start Rational Rhapsody and
open a project.
- Verify that the unit you want to compare
(for example, a class) is a unit. A Rational Rhapsody element
is a unit if a small red file is seen in the lower left corner of
its standard icon in the browser, as shown in this Class icon
.
- If the element is not yet a unit, change
it into a unit by right‑clicking the element and selecting Create
Unit, and then click OK.
Note: You must check in any new unit into your configuration
management system before it can be recognized by
Rational Rhapsody DiffMerge.
- Open the Configuration Items window. Choose .
Note: How this window looks
depends on your configuration management system.