Specifying Java EE preferences

Use the Preferences dialog to specify preferences for Java™ EE development.

Before you begin

To work with Java EE tools, make sure that the Enterprise Java capabilities are turned on in the General > Capabilities page of the Preferences dialog.

Procedure

  1. Click Window > Preferences and select Java EE in the left pane.
  2. Select or clear the Perform incremental deployment check box. Incremental deployment affects situations when you change a project after deployment code is already generated. When you regenerate the deployment code, the workbench only generates the necessary code related to the files that were affected by your changes.
  3. In the Classpath containers section, you can let the system manage the classpath variables or you can control your own classpath at a workbench level.
    1. Select Use EAR Libraries classpath container, if you want the classpath dependencies to be managed automatically. Clear Use EAR Libraries classpath container if you want to manage your own classpath dependencies manually.
    2. Select Use Web App Libraries classpath container, if you want the classpath dependencies to be managed automatically. Clear Use Web App Libraries classpath container, if you want to manage your own classpath dependencies manually.
  4. In the Classpath checking section, you can set the classpath checking level to one of Error, Warning, or Ignore for each of the following states:
    • Duplicate Java EE Module dependency classpath entries
    • Duplicate Web Module dependency classpath entries
    • Missing Java EE Module dependency classpath entries
    • Missing Web Module dependency classpath entries

What to do next

Tip: You can set the default perspective by clicking Window > Preferences and then General > Perspectives.


Feedback