5.3.7 Editing WAR properties
This subsection describes the cosminexus.xml editor items and settings used for adding and editing a WAR property.
- Organization of this subsection
- (1) Left pane
- (2) Right pane
(1) Left pane
Select WAR property. The following items are displayed, and you can add or delete the property:
![[Figure]](figure/zu051900.gif)
- WAR Property
- Click the following button to add or delete the property:
- Add button
- Adds the WAR property.
- Note that if you click the Add button, the following tags are inserted at the end of the WAR property in the source file:
<war>
<module-name>Specify the module name for the WAR property.</module-name>
</war> |
- However, if the DTD file is deleted because of incorrect operations and if you cannot specify the insert location, the tag is inserted at the end of the attribute group immediately below the cosminexus-app property.
- Remove button
- Deletes the WAR property selected in the list.
(2) Right pane
If you select the WAR Property in the left pane, the following items are displayed in the right pane, and you can specify the property:
![[Figure]](figure/zu052000.gif)
- WAR Property Details
- Specify the WAR property details.
- Module name
- Specify the key used for identifying Entity Beans. Corresponds to the <module-name> tag under the <war> tag.
- Resource Reference
- Edit the resource references. For details on the contents that you can specify, see the description about the resource references in 5.3.4(2) Right pane.
- Resource Environment Variable
- Edit the resource environment variables. For details on the contents that you can specify, see the description about the resource environment variables in 5.3.4(2) Right pane.