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 WAR (web archive) file for easy transfer.
To package a web module directory into a WAR file:
![]() |
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. |
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 in the Archive section of the WEB-INF property sheet. For more information, see Editing Web Module Archive Properties. |
See Also | |
---|---|
About WAR Files |