Chapter 14 Working with the PowerDesigner Plugin for Eclipse


Deploying EJB, Servlets and JSP

Steps To deploy EJB, Servlets and JSP into an application server:

  1. Right-click the build.xml file in the Eclipse Package Explorer.
  2. Select Run→Ant Build.
  3. In the Modify Attributes and Launch dialog box, select the deploy task.
  4. Click Run.

By default, the deploy task deploys the .EAR file. The Ant build.xml file contains the server name, port number, user name and password properties used for deployment.

These properties are generated from the PowerDesigner generation options. If you did not set these properties correctly when you generated the files from PowerDesigner, you may need to edit the build.xml file to set these properties prior to deployment.

Using other Ant tasks

You can also use other Ant tasks to generate Javadoc, and run J2EE verifier to check if the packaged J2EE application is correct.

Steps To use other Ant tasks:

  1. Right-click the build.xml file in the Eclipse Package Explorer.
  2. Select Run→Ant Build.
  3. In the Modify Attributes and Launch dialog box, select the desired Ant task.
  4. Click Finish.

 


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