The fglgar command

The Genero Archiver tool (fglgar) enables you to build a java Web Archive (war) from a Genero Application Server (GAS) directory specified at command line.

It configures the Java™ Servlet to use the GAS directory and GAS configuration file.

Syntax

fglgar [options]

Options

Table 1. fglgar options
Option Description

-V

--version

Displays version information.

-h

--help

Displays help information.

-v

--verbose

Displays the verbose output of additional information.

-o

--output

Name of archive file to create.

-d

--output-directory

Directory where to save the archive file.

-s directory

--input-source directory

Directory to archive.

-w

--war

Option to generate the Java Web Archive.

-g

--gar

Option to generate the Genero Web Archive.

-p directory

--as-directory directory

Specify the Genero Application Server directory.

-a directory

--asdir directory

Specify the Genero Application Server directory.

-x config_file

--asxcf config_file

Specify which configuration file to use when starting the Java dispatcher. If not specified, the default configuration file, $FGLASDIR/etc/as.xcf, is used.

-f config_file

--configuration-file config_file

Specify which configuration file to use when starting the Java dispatcher. If not specified, the default configuration file, $FGLASDIR/etc/as.xcf, is used.
Example :
fglgar --war --asdir C:\usr\gas\2.30 --asxcf C:\conf\as.xcf
Generates a Java Servlet called java-j2eedispatch.war using the Genero Application Server located at C:\usr\gas\2.30 and with the configuration file located at C:\conf\as.xcf, and accessible via URL of type http://host:port/java-j2eedispatch/demos.html.
fglgar --war --asdir C:\usr\gas\2.30 --output connector

Generates a Java Servlet called connector.war using the Genero Application Server located at C:\usr\gas\2.30 and accessible via URL of type http://host:port/connector/demos.html.