Importing the Generated Project into Eclipse

If you have selected the Generate Eclipse project artifacts generation option, you can import the generated project into Eclipse and use Eclipse to modify, compile and run the tests.

If you use the PowerDesigner Eclipse plugin then, after the code generation, the project is automatically imported or refreshed in Eclipse.

If you use the standalone version of PowerDesigner, you need to import the generated project as follows:

  1. In Eclipse, select File > Import

  2. In the import list, select Existing Projects into Workspace. Eclipse will automatically compile all the Java classes. If there are errors, you should check:

    • That all the required Jar files are included in the .classpath file.

    • That the JDK version is the right one. If you use Java 5.0 as the language in OOM, you need to use the JDK 5.0 to compile the code.