GhostGenerator reference

The GhostGenerator class is the entry point to create a scenario.

The complete details of the packages and classes that make up the Genero Ghost Client can be found in the /doc directory of your GGC package. Please see the help file by launching the /doc/index.html file in your browser.

Syntax

java com.fourjs.ggc.generator.GhostGenerator path-to-guilog
 producer-classname path-to-scenario
Table 1. GhostGenerator options
Option Description
path-to-guilog Specify the path to the guilog generated using the --start-guilog option of fglrun. See Record a scenario log.
producer-classname Specify the name of the ScenarioProducer implementation. You can create your own implementation, or you can use the provided BDLProducer implementation to create a scenario in Genero Business Development Language (BDL).
Tip: To create your own producer or template, start by reviewing the documentation for the Genero Ghost Client API.

The complete details of the packages and classes that make up the Genero Ghost Client can be found in the /doc directory of your GGC package. Please see the help file by launching the /doc/index.html file in your browser.

path-to-scenario Specify the path and filename of the source code file to be created for the scenario.

--help

Print the usage and exit.

Example

This example creates a Genero BDL application from the GuiLog named myapp.guilog. The application name will be myapp.4gl.
java com.fourjs.ggc.generator.GhostGenerator myapp.guilog 
 com.fourjs.ggc.generator.BDLProducer myapp.4gl