Packaging gwa files

Using the fglgar tool to build a Genero Web Application (gwa) file allows you to deploy applications that are ready to run in a browser.

The fglgar tool run with the gwa command creates a gwa file that embeds the Genero Browser Client.

Once you have built the app, (for details go toCreating GWA apps with Genero) you can package the gwa_dist directory using fglgar gwa, and deploy it on the GAS. The application can then be accessed at a URL on the server where the GAS is running: http://host:port/gas/gwa/myapp/index.html

A typical fglgar gwa command is shown:
fglgar gwa --gwa gwa_dist -o myapp
The example uses two of the command's mandatory options:
  • The --gwa option is mandatory. It allows you to specify the path to the Genero Web Application directory to create the gwa file. You must have a Genero Web Application already created to include in the gwa file. For details, go to gwabuildtool.
  • The --output or -o option is mandatory. It specifies the name and relative or absolute path to the gwa file to generate.