During development, a web module is typically executed from its directory structure, that is, its unpacked form, to facilitate frequent and direct updates. However, once the contents of the web module are ready for deployment, the web module can be packaged into a Web ARchive, that is, a WAR, form for easy transfer.
To package a web module directory into a WAR file:
WEB-INF
node, and choose Export
WAR File from the contextual menu. Alternatively, choose Tools In the Choose WAR File Name dialog box, type a name for the WAR file, and
click OK. You do not need to add the .WAR
extension explicitly.
![]() |
If the Export WAR File command does not appear on the contextual menu, ensure that you have mounted the root directory of the web module to be packaged on the Filesystem page in the Explorer. |
A WAR file is created. By default, all files (with the exception of .java
files) under the web module file system are included.
![]() |
Note that web module packaging is affected by the
properties set on the Archive tab of the |
See Also | |
---|---|