Packaging for a BAM application

To package a BAM application, you must set the environment and include some files that are not required for non-generated applications.

This is necessary to have the application work outside of a pre-configured Genero Studio environment. These environment variables can be set in the application configuration file.

Set the database environment. The requirements will vary depending on which database is being used. Refer to the Genero Business Development Language User Guide for more information.

Set FGLLDPATH to include the path to the template files. The template files themselves are part of a Genero Studio installation, and would need to be copied from a Genero Studio installation if not present.

Set FGLRESOURCEPATH to use the specific dbapp resources such as .4ad, .4st, .4tm, and .4tb. These resources can be retrieved from the styles subdirectory of the template file directory (such as %GSTDIR%\bin\src\ag\tpl\dbappX.X\styles). Setting FGLRESOURCEPATH is not needed if your generated application involves only standalone Web services.