Activating the code structure preserving feature

You can set up Rational Rhapsody Developer for C and C++ so that you can roundtrip code into the Rational Rhapsody model that respects the structure of the code, and preserves this structure when the code is roundtripped in the Rational Rhapsody model.

About this task

This feature is available for IBM® Rational® Rhapsody® Developer for C and IBM Rational Rhapsody Developer for C++.

Procedure

  1. Open the Features window.
  2. On the Properties tab, select the View arrow and select All.
  3. Expand <lang>_Roundtrip and then expand General.
  4. For the RoundtripScheme property, select Respect.
  5. Click OK.

Results

The code structure preserving function is based on elaborating SourceArtifact files (previously known as component files).

Note: Any project you create has the code structure preserving feature activated by default. Any old projects opened in Rational Rhapsody 7.2 or higher retain their original roundtrip scheme.

Feedback