Editing the Java EE deployment assembly page
The Deployment Assembly project property page is shared among all Java™ EE project types, including OSGi projects.
Procedure
- Editing your EAR project deployment assembly page:
- To use the Deployment Assembly page,
right-click your EAR project and select Properties > Deployment Assembly. The Deployment
Assembly page consists of a table that contains a Deploy
Path column and a Source column:
- The Deploy Path column represents the path within the
packaged archive. Click Add to add mappings: You can add the following references:
- Archive via path Variable
- Archives from File System
- Archives from Workspace
- Folder
- Project: enables bundling of the project into an archive, and placed in the runtime location specified. Project references are often used to bundle utility projects into a web project (WEB-INF/lib) location, which is automatically included on the WAR runtime classpath.
- The Source column represents the project path. For information about Annotation scanning, see Excluding files from annotation scanning.
- To use the Deployment Assembly page,
right-click your EAR project and select Properties > Deployment Assembly. The Deployment
Assembly page consists of a table that contains a Deploy
Path column and a Source column:
- Editing your EJB or web project deployment assembly page:
- To use the Deployment Assembly page,
right-click your Java EE project
and select Properties > Deployment
Assembly. For Java EE
modules the page consists of two tabs:
- The Deployment Assembly tab, which consists of a table that contains a Deploy Path column and a Source column.
- The Manifest Entries tab
- On the Deployment Assembly tab, click Add to
add mappings: You can add the following references:
- Archive via path Variable
- Archives from File System
- Archives from Workspace
- Folder
- Java Build Path Entries
- Project: enables bundling of the project into an archive, and placed in the runtime location specified. Project references are often used to bundle utility projects into a web project (WEB-INF/lib) location, which is automatically included on the WAR runtime classpath.
- On the Manifest Entries tab, click Add to
add manifest entries:
You can add custom manifest entries or configure available entries:
- To use the Deployment Assembly page,
right-click your Java EE project
and select Properties > Deployment
Assembly. For Java EE
modules the page consists of two tabs:
Parent topic: Java EE deployment assembly
Related concepts:

