GST-specific environment variables

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

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

GSTDIR

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

GSTSCHEMANAMES

The GSTSCHEMANAMES environment variable defines the schema files (4db) to be loaded by default into the Meta-schema Manager when Genero Studio for Genero Report Writer is launched. Available meta-schemas are displayed in the DB Schemas tab, and available to Genero Studio components such as Report 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 semi-colons. 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.

With Genero Report Writer, this environment variable allows runnable demos using SQLite. For each language (JAVA, C# and PHP), Genero Studio provides an environment set for the demo applications for each of the languages; Java has the Demo Java Database Connection, for example. In each of these environment sets, one of the environment variables uses GSTUSERSAMPLESDIR to specify the connection string, in order to find the officestore.db database:
  • For JAVA, the JAVA_DB_URL is defined as: jdbc:sqlite:$(GSTUSERSAMPLESDIR)/OfficeStoreRes/database-sqlite/officestore.db
  • For .NET, ADO_CONNECTION_STRING is defined as: Data Source=$(GSTUSERSAMPLESDIR)/OfficeStoreRes/database-sqlite/officestore.db
  • For PHP, the PDO_DSN (The PDO Data Source Name) is defined as: sqlite:$(GSTUSERSAMPLESDIR)/OfficeStoreRes/database-sqlite/officestore.db