Importing source code (reverse engineering)

Procedure

  1. In Eclipse, set the project and the component as the active configuration.
    1. Right-click the project and select Set as Active Project.
    2. Right‑click the component and select Set as Active Component.
  2. In your Eclipse project, choose File > Import to open the Import window.
  3. Expand the IBM® Rational® Rhapsody® folder, select Source Code, and then click Next.
  4. When the message window opens, confirm that you want to launch the Rational Rhapsody Reverse Engineering interface, click Finish.
  5. When asked to confirm that you want the reverse engineered code to be saved to the active component and configuration, click Continue.
  6. On the Reverse Engineering window, click Add Files or Add Folder to add items to be reverse engineered.
  7. After selecting the items to reverse engineer, click Start.
    Note: You have a choice of a flat view or a navigation tree for the selected items. To toggle between the views, click the Flat View button or the Tree View button .
  8. Confirm that you want to continue with the reverse engineering process, click Yes.
  9. Click Finish. The reverse engineering messages display in the Rhapsody Log window.

Feedback