Including Extra Files in a Web Module Package

See Also

Tip Note that this feature might not be included in your version of the IDE.

When you package a web module as a WAR file, the default package includes only those files that are part of the web module. To add to the WAR package any file that is external to the web module, use the Extra Files property editor. Extra files might include image files, text files, or other resources that reside outside the web module. When adding extra files, the default Target directory is the web module root directory.

To include extra files in a web module package:

  1. Display the Archive pane of the WEB-INF property sheet.
  2. On the Archive pane, click the Extra Files value field to activate the ellipses (...).
  3. Click the ellipses in the Extra Files value field to display the Extra Files property editor.
  4. In the Extra Files property editor Source pane, select the file to be added, then select the desired directory prefix.
  5. Click Add. Repeat as needed. If you need to remove an added file, select the file in the Chosen content list, then click Remove.
  6. When you are finished, click OK to close the property editor.
See Also
Editing Web Module Archive Properties
Packaging a Web Module

Legal Notices