Chapter 14 Working with the PowerDesigner Plugin for Eclipse


Configuring Eclipse, J2EE and JWSDP home directories

To generate the .classpath file, you need to define an ECLIPSE_HOME variable that indicates the Eclipse home directory. You can define the ECLIPSE_HOME variable inside PowerDesigner or in the Windows environment variables.

If you plan to generate EJB, Servlets or JSP, you also need to define a J2EE_HOME variable in PowerDesigner or in the Windows environment variables, in order to indicate the J2EE SDK home directory.

If you plan to generate Web Services for Java, you also need to define a JWSDP_HOME variable in PowerDesigner or in the Windows environment variables, in order to indicate the Java Web Service Developer Pack home directory.

Note: If you add a variable in the Windows environment variables, you must restart PowerDesigner.

Steps To define the ECLIPSE_HOME variable in PowerDesigner:

  1. Select Tools→General Options.
  2. Click the Variables category in the Category tree.
  3. Type ECLIPSE_HOME in the Name column and type the Eclipse home directory in the value column.
  4. Repeat step 3 for each variable you need to declare.

 


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