genProject

The genProject build descriptor option places the output of Java™ generation into a Workbench project and automates tasks that are required for Java runtime setup.

To use genProject, specify the project name. EGL then ignores the buildPlan, genDirectory, and prep build descriptor options, and preparation occurs in either of two cases:
If you set the genProject build descriptor option to the name of a project that does not exist in the workbench, EGL uses the name to create a Java project, except when one of the following situations occurs:
In addition to creating a project, EGL does as follows:
When you are generating in the workbench, the following rules apply:
For Java generation
You are not required to specify either genProject or genDirectory. If neither is specified, Java output is placed in the project that contains the EGL source file being generated.
For COBOL generation
You must specify genDirectory, and in most cases EGL ignores any setting for genProject.
If the COBOL program of type VGWebTransaction presents a Web page, however, these statements apply:
  • You may specify genProject, which indicates a location for the associated Java-based objects that run in the Web application server
  • If you do not specify genProject, all output is placed in the location identified in genDirectory

If you are generating from the EGL SDK, you may not use genProject. Use genDirectory instead.


Feedback