GAS installation and application data directories
GAS is installed in different directories in a Linux®/UNIX™ platform to a Windows® one. To help you manage your GAS installation, there are descriptions of its files and directories, and recommendations for its use.
The two main directories of the GAS are:
- The installation directory. See GAS Installation directory.
- The application data directory. See GAS application data directory.Important: The application data directory needs to be on the same file system. For more information read the section on Prerequisites for application data directory.
GAS Installation directory
The installation directory contains the installation files. It is defined by the FGLASDIR
environment variable and set by the resource
$(res.path.as)
in the GAS
configuration file. The directories and files of the GAS installation directory are described in
Table 1.Directory | GAS installation directory | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
$FGLASDIR |
|
GAS application data directory
The
application data directory, or appdata, is where the application data files
managed by the GAS are located. The appdata directory is set by the resource
$(res.appdata.path)
in the GAS configuration file. The directories and files of the
appdata directory are described in Table 2Directory | GAS application data directory | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
appdata |
On Windows:
C:\ProgramData\FourJs\gas\gas_version
On Linux/UNIX: $FGLASDIR/appdata
|
Prerequisites for application data directory
GAS
requires that all
appdata
files are located on the same file system. This
requirement is based on the following:- The
appdata
directory and all the search paths for VM server image files defined by the FGLIMAGEPATH environment variable must be located on the same file system. For more information, see the Genero Business Development Language User Guide. - The DVM uses hard links to avoid file copies. As hard links are direct pointers to data on the disk, they can not span file systems.
Note: It is not recommended to change the location of
If you need to customize the application directory location due to, for example, disk space
constraints, it is recommended that you move the entire directory hierarchy starting from the root
directory at appdata
.
appdata
and ensure that all appdata
files are
relocated on the same file system. Note: If you have two partitions, partition A and B, they are
considered two distinct file systems even if stored on the same physical device.
To
implement a location change for
appdata
, there are two recommended options:- You can reset the resource
$(res.appdata.path)
in the GAS configuration file with an absolute path reference to the new location. The example showsappdata
located in the path of the GAS installation resource,$(res.path.as)
:<RESOURCE Id="res.appdata.path" Source="INTERNAL">$(res.path.as)/appdata</RESOURCE>
- Or alternatively, at the command line you can override the GAS configuration file
$(res.appdata.path)
resource with dispatcher option-E
.