Chapter 14 Working with the PowerDesigner Plugin for Eclipse


Generating an Eclipse Project

Eclipse is a platform that allows third parties to add plugins to provide new features and extend the platform. For example, a plugin could provide IDE features, modeling features, code generator, and so on.

There are two Eclipse plugins that may be used by PowerDesigner customers:

Java development

PowerDesigner and Eclipse enable round-trip engineering for Java development:

Eclipse project generation

An Eclipse project is stored in a directory. The name of the project is the name of the directory. A project is defined by:

By default, a Java project only supports the build command for compilation. Additional commands must be defined with command lines or Ant tasks, which is not always easy to do. Users may also need to add additional libraries to compile Java files.

PowerDesigner can generate the following files:

Depending on the type of Java classes contained in a model, PowerDesigner can also add the necessary build tasks and libraries to prevent the users from doing it manually.

With the generated Eclipse Project files, users can immediately:

To generate an Eclipse project, you have to create an OOM with the correct profile and define generation options.

 


Copyright (C) 2008. Sybase Inc. All rights reserved.