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:
    1. 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:
      Deployment Assembly page
    2. The Deploy Path column represents the path within the packaged archive. Click Add to add mappings:
      Add references
      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.
    3. The Source column represents the project path. For information about Annotation scanning, see Excluding files from annotation scanning.
  • Editing your EJB or web project deployment assembly page:
    1. 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
    2. On the Deployment Assembly tab, click Add to add mappings:
      Add references
      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.
    3. On the Manifest Entries tab, click Add to add manifest entries:
      Manifest Entries page
      You can add custom manifest entries or configure available entries:
      Add Manifest entries