Importing Eclipse projects into Rational Rhapsody

IBM® Rational® Rhapsody® makes it easy for you to import your Eclipse projects quickly. When you import an Eclipse project, all elements contained in the project are reverse engineered and added as elements of a model. The imported elements are added in a new package which uses the name of the original Eclipse project.

About this task

To import an Eclipse project:

Procedure

  1. Create a Rational Rhapsody project, or open an existing Rational Rhapsody project.
  2. Select Tools > Import from Eclipse.
  3. If Eclipse is not currently open, Rational Rhapsody will launch it (after first asking you to confirm that you want Eclipse opened), and the Export Rhapsody Model window will be displayed in Eclipse. (If the window does not appear, check the port settings used; select Code > IDE Options from the main Rational Rhapsody menu.)
  4. Select the projects that you would like to export to Rational Rhapsody. (If an Eclipse project has already been imported into Rational Rhapsody, it will not appear in the list of available Eclipse projects.)
  5. If you want the elements in the project to be added to the Rational Rhapsody model as external elements, select Export as External.
  6. If you want to fine-tune the reverse engineering options that will be used for importing your Eclipse project, select Open Reverse Engineering options dialog in Rhapsody before export.
  7. Click Finish. All of the elements in the Eclipse project will be imported into the open Rational Rhapsody project.
  8. When the import process has been completed, look in the Rational Rhapsody browser for a package that has the same name as the Eclipse project you imported. You will also notice that a new component has been added to your Rational Rhapsody model, containing an Eclipse configuration named after your Eclipse project.

Feedback