Generate and edit code Generate code Rational Rhapsody uses an Eclipse IDE project for code generation. Before you can generate code, you must perform the following tasks: Љ Create an Eclipse IDE project Љ Associate the Rational Rhapsody Eclipse configuration with the Eclipse IDE project Creating an Eclipse IDE project To create an IDE project to use for Rational Rhapsody code generation: 1. In the model browser, right-click an Eclipse configuration and select Create IDE Project . 2. If you have an existing Eclipse project in your work area, that project is listed in the Existing Project list.
However, you need to create a special Eclipse IDE project, so you should select the New Project radio button. 3. Click Finish . 4. In the New Project window, select the project type based on your environment. 5. Click Next . 6. Enter a project name on the Project window and click Next . 7. If necessary, make a configuration selection on the Select Configurations window, and then click Finish . 8. If your project type selection is different from your current perspective, an Open Associated Perspective window opens to give you an opportunity to switch perspectives; click Yes . If you want to keep using your currently active perspective, click No . Rational Rhapsody 141