Reference / Tools and Commands |
The Genero Archiver tool (fglgar) enables you to build a java Web Archive (war) to deploy Genero Application Server (GAS) on Java Web servers or to build a Genero archive (gar) to deploy Genero applications on GAS.
It configures the Java™ Servlet to use the GAS directory and GAS configuration file. It also provides a deployment framework for managing application resources and deploying public images on the GAS.
fglgar [options]
Option | Description |
---|---|
-V --version |
Displays version information. |
-h --help |
Displays help information. |
-o --output |
Name of archive file to create. |
-v --verbose |
Displays the verbose output of additional information. |
-q --quiet |
Silent mode |
-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. To run fglgar --war on a Windows or Mac, the user running the command must have write permission on the FGLASDIR directory. If you cannot grant write permissions on the FGLASDIR directory, move all of the FGLASDIR/war directory to another directory with write permission. See Building the Java Web Archive (WAR) |
-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. |
--resource directory |
Specify the Genero archive resource directory. See Resource deployment overview |
--trigger-component |
Genero archive trigger execution component, see TRIGGERS (for manifest). |
--deploy-trigger command |
Genero archive deploy trigger command. See TRIGGERS (for manifest) |
--undeploy-trigger command |
Genero archive undeploy trigger command. See TRIGGERS (for manifest) |
--application config_file |
Genero archive application configuration file. |
--service config_file |
Genero archive service configuration file. |
fglgar --war --asdir C:\usr\gas\3.00 --asxcf C:\conf\as.xcf --output java-j2eedispatch
fglgar --war --asdir C:\usr\gas\3.00 --output connector
Generates a Java Servlet called connector.war using the Genero Application Server located at C:\usr\gas\3.00 and accessible via URL of type http://host:port/connector/demos.html.