GST-specific environment variables

This section lists and describes all Genero Studio specific environment variables.

See the topic Genero environment variables in the Genero Business Development Language User Guide for Genero-specific environment variables such as FGLDIR, FGLGUI, and FGLPROFILE.

See GRE environment variables for environment variables specific to the Genero Report Engine, such as GREDIR and GREDEBUG.

GMADIR

The GMADIR environment variable defines the installation directory of Genero Mobile for Android™ (GMA).

GMIDIR

The GMIDIR environment variable defines the installation directory of Genero Mobile for iOS (GMI).

GMIEXTDIR

The GMIEXTDIR environment variable indicate the location of the iOS extensions to be taken into account when building Genero Mobile for iOS (GMI) packages from within Genero Studio.

The extensions must be compiled before they are put into the GMIEXTDIR directory.

For example, rather than having a .m file (uncompiled version), you need to provide a static library with a .a extension. For example, if you have a file frontcalls.m, you first must compile the file by using the Makefile-gmi generic makefile:
make -f "$GMIDIR/lib/Makefile-gmi" USER_LIBNAME=frontcalls.a staticlib

This command creates the file frontcalls.a, which is the file to be placed in GMIEXTDIR.

This command provides a mechanism for implementing the --extension-libs option of the gmibuildtool. For more information about this option or about compiling the required static libraries, see the section Building a GMI app with C extensions or custom front calls in the Building iOS apps with Genero topic of the Genero Business Development Language User Guide.

GSTDIR

The GSTDIR environment variable defines the installation directory of Genero Studio.

GSTLIBRARYDIR

The GSTLIBRARYDIR environment variable defines the location of the libraries used with the database generation script. By default, this environment variable is set in the Studio Libraries environment set.

GSTSCHEMANAMES

The GSTSCHEMANAMES environment variable defines the schema files (4db, 4dbx, sch) to be loaded by default into the Meta-schema Manager when Genero Studio is launched. Available meta-schemas are displayed in the DB Schemas tab, and available to Genero Studio components such as Form Designer.

Use the GSTSCHEMANAMES environment variable to specify global schemas.
Note: Although you can specify global schemas, it is recommended that you add schemas to projects instead. Schemas added to projects are loaded when the project is opened, not at Genero Studio launch. Project can also be available to all developers without any additional configuration needed.

Select the default environment set (Global Database Schemas) or create a new one that includes the GSTSCHEMANAMES environment variable. Set the GSTSCHEMANAMES environment variable to specify the file names of the schemas to make available. Use the Value List environment variable type to list multiple schemas, separated by semicolons. Do not include the file extension.

Use FGLDBPATH to define the directories in which to find the schema files listed in the GSTSCHEMANAMES variable.

GSTSETUPDIR

The GSTSETUPDIR environment variable defines the BAM application generator template directory. Changing this variable launches synchronization from the server and reloads the templates.

Select the default environment set or create a new one that includes the GSTSETUPDIR specifying the location of the template directory to be used.

GSTUSERSAMPLESDIR

The GSTUSERSAMPLESDIR environment variable defines the installation directory for the Genero Studio demo samples.

GSTUSERSAMPLESDIR is typically used when setting other environment variables.

By default, the GSTUSERSAMPLESDIR is not used in Genero Enterprise v3.0.

GSTTERM

The GSTTERM environment variable defines the command to open a terminal on a Linux® system.

GSTWCDIR

The GSTWCDIR environment variable defines the directory in which the WebComponent XML files (.wcsettings) and optional image files are stored. By default this environment variable is set in the Web Components environment set.

Set GSTWCDIR to your web component directory where the .wcsettings and the optional image files reside. The Web Components files themselves may reside in a separate directory for deployment.

Each of the .wcsettings XML files describes a single WebComponent object.

When you have set this directory, you may add a WebComponent widget to your form design document. The components described in the .wcsettings files will be available in the combobox list of the componentType property in the Properties view, allowing you to specify the particular WebComponent to add to the form.