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, FGLDIR/web_utilities/jgas, 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
│─── jgas-standalone.jar
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.
Note: The JGAS version differs from the FGLGWS package version.
WebContent

The WebContent directory is provided as the template to generate a war file.

as.xcf 
This is the main JGAS configuration file, 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.
jgas-standalone.jar This jar file is the standalone version of JGAS. It contains an embedded Jetty (Java Enterprise Edition container) that can be used for development without requiring an actual J2EE deployment.
web.xml The web.xml file is the Web deployment descriptor. It may be user modified to add servlet declarations, etc.