EGL Reference Guide for iSeries


Build

When you are working in an EGL or EGL Web project, the word build does not (in general) refer to code generation.

The following menu options have a distinct meaning:

Build project
Builds a subset of the project--
  1. Validates all EGL files that have changed in the project since the last build
  2. Generates page handlers that were changed since the prior page-handler generation
  3. Compiles any Java source that changed since the last compile

The menu option Build Project is available only if have not set the Workbench preference Perform build automatically on resource modification. If you have set that preference, the actions described earlier occur whenever you save an EGL file.

Build all
Conducts the same actions as Build project, but for every open project in the workspace.

Rebuild project
Acts as follows--
  1. Validates all the EGL files in the project
  2. Generates all page handlers in the project
  3. Compiles any Java source that changed since the last compile

Rebuild all
Conducts the same actions as Rebuild project, but for every open project in the workspace.

When you generate code into a project (as is possible only for Java output), a Java compile occurs locally in the following situations:

When you generate code into a directory, EGL optionally creates a build plan, which is an XML file that includes the following details:

In the case of COBOL generation for iSeries, the iSeries build server calls a build script (FDAPREP) that resides in the iSeries library QEGL/QREXSRC. That build script specifies how to prepare output, and a system administrator must customize that build script, as described in the document EGL Server Guide for iSeries, on your installation CD.

Preparation of generated output on a remote platform requires that a build server be running on that platform.

You may wish to create a build plan and to invoke that plan at a later time. For details, see Invoking a build plan after generation.


Related concepts
Build descriptor part
Build plan


Build server
Development process


Related tasks
Creating a build file
Invoking a build plan after generation


Related reference
Build descriptor options
Build scripts delivered with EGL


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]