Chapter 14 Working with the PowerDesigner Plugin for Eclipse
Generating Java code and Eclipse project files
You can generate the Java code for EJBs, Servlets and JSPs along with the Eclipse project files.
To generate the Java code and Eclipse project files:
- Select Language→Generate Java Code.
- Select the project folder where you want to generate the files. The name of this folder will be used as the project name.
- Verify that Eclipse and the target application server are selected in the Targets tab.
- Select the packages, classes and interfaces you want to generate in the Selection tab.
- Set the generation options for Java, EJB and the target application server in the Options tab. To be able to deploy the application in an application server, you need to enter the server name, port number, user name and password. If you do not enter these options, you will need to modify these properties in the generated Ant build.xml file.
You do not need to select any command task in the Tasks tab.
- Click OK to generate the Java code and the Eclipse project files.
Copyright (C) 2008. Sybase Inc. All rights reserved.
|
|