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--
- Validates all EGL files that have changed in the project since the last build
- Generates page handlers that were changed since the prior page-handler generation
- 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--
- Validates all the EGL files in the project
- Generates all page handlers in the project
- 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, a Java compile occurs locally in the following situations:
- When you build or rebuild the project; or
- When you generate the source files; but only if you checked the workbench preference Perform build automatically on resource modification.
When you generate code into a directory, EGL optionally creates a build plan, which is an XML file that includes the following details:
- The location of any files that will be transferred to another machine;
- Other information needed for the transfer, which occurs by way of TCP/IP; and
- A Java compile statement.
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