The prep build descriptor option specifies
whether EGL begins preparation when the generation phase completes
successfully.
Even if you set prep to NO, you can prepare
code later. For details, see Using a build plan after generation.
Consider these cases:
- When you generate a COBOL program, EGL writes preparation messages
to the directory specified in the genDirectory build
descriptor option, to the results file, and to additional files that
are each specific to a preparation step.
- When you generate Java™ code
into a directory, EGL writes preparation messages to the results file.
- When you generate Java code
into a project (genProject build descriptor
option), the prep build descriptor option
has no effect, and preparation occurs in either of two situations:
- Whenever you build the project
- Whenever you generate the source files; but only if you selected
the workbench preference Build automatically.
To set this preference:
- Click to open the Preferences window.
- At the left side of the Preferences window, expand General and
click Workspace.
- Select the Build automatically check box
if you want EGL to build your files automatically. When you select
this preference, EGL performs a build whenever you save a file. This
means that EGL validates any parts of the file that have changed,
and any other parts in the project that are called by the changed
part. Validation is done without using a build descriptor part.
If you wish to customize the generated build plan, follow these
steps:
- Set the prep build descriptor option
to NO.
- Set the buildPlan build descriptor option
to YES (as is the default).
- Generate the output.
- Customize the build plan.
- Invoke the build plan, as described in "Using a build plan after
generation".
Values
- NO
- The preparation phase is not started after the generation phase.
- YES (the default value)
- The preparation phase is started after the generation phase.