Administering the Genero Application Server / Tools and Commands |
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.
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. |
fglgar --war --asdir C:\usr\gas\2.30 --asxcf C:\conf\as.xcf
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.