JGAS package content

When working with JGAS, it is helpful to know the files contained in the installation, and their function.

JGAS installation directory structure

Your JGAS installation directory contains a directory structure with files as shown:
│─── PRODUCTINFO
│─── VERSION
│─── WebContent
│     │─── index.jsp
│     │─── META-INF
│     │     │─── MANIFEST.MF
│     │     │─── services
│     │     │     │─── javax.servlet.ServletContainerInitializer
│     │─── WEB-INF
│     │     │─── as.xcf
│     │     │─── lib
│     │     │     │─── jgas.jar
│     │     │─── mimetypes.properties
│     │     │─── web.xml
The files listed in Table 1 are the most important ones.
Important:

All installation files are subject to change when an upgrade occurs. It is therefore not recommended to modify any files in the installation directory to avoid having to reapply your modifications each time the product is upgraded.

Table 1. Main JGAS installation files and directories
File/Directory Description
PRODUCTINFO This file contains JGAS version and copyright information.
VERSION This is the JGAS version number. For example, 1.00.00-1479199935.
WebContent

WebContent provides the template to generate a war file. It contains the directories META-INF and WEB-INF that contain classes and other application resources J2EE servers use to deploy and run applications. The path to this directory must be specified when packaging applications in a war file with fglgar war. For details, go to Build war file and run the application.

as.xcf 
This is the main JGAS configuration file included in the WEB-INF directory; it provides defaults for embedded applications. See JGAS configuration file
mimetypes.properties This file contains a list of the MIME types that are mapped to file extensions.
jgas.jar This jar file is the actual JGAS implementation.
web.xml The web.xml file is the Web deployment descriptor. It may be user modified to add servlet declarations, etc.