Selecting default project structures
You can use the Preferences page to set your default project structures.
To set the project structures
- Click
Window | Preferences to open the Preferences page.
- Expand Java™ EE, and select
Project
- Select the elements that you want to set as the default when creating your Java EE application. These project settings include:
Enterprise Application Membership:
- Add project to an EAR (default: checked)
Content directory (indicates the default directory in your workspace where the indicated project is stored. You can change the name of the default directory here):
- Enterprise Application Project (default: unspecified)
- Application Client Project (default: appClientModule)
- Connector Application Project (default: connectorModule)
- Dynamic Web Project (default: WebContent)
- EJB Project (default: ejbModule)
- Default source folder (default: src)
Generate Deployment Descriptor for Java EE 5.0 Projects (Select this option if you want a deployment descriptor to be automatically created when you create the project type indicated):
- Enterprise Application Project (default: unchecked)
- EJB Project (default: unchecked)
- Dynamic Web Project (default: checked)
- Application Client Project (default: unchecked)
- Click
Apply to apply the changes and click OK to close the Preferences page.
Related tasks
Setting Java compiler compliance