An EGL build file (extension EGLBLD) contains any number of build
parts and is written in Extensible Markup Language (XML). The build
file has a specific format; see EGL build-file format.
When you create a new EGL project, EGL web project, or EGL Plug-in
project in the workbench, the New Project wizards provide a
Create
new project build descriptor(s) automatically option.
This default option does the following:
- Creates the basic Build Descriptor parts you need to generate
code based on whether you select Java™ or
COBOL under "Target Runtime Platform". However, in most cases you
must modify the Build Descriptor parts according to your particular
needs. For example, you might need to set the system build
descriptor option to specify the ZOSBATCH runtime environment.
- Sets default build descriptors at the project level. For more
information, see Default build descriptors.
If you do not select the
Create new project build
descriptor(s) automatically option, you can create your
own build file manually or specify your default build descriptors
manually at a later time.
Note: You can use the graphical EGL Build Parts Editor to easily edit
build files. As with any XML file, you can also change it with a text
editor, but this should not be necessary.
To create a build file manually, follow these steps:
- Identify a project or folder to contain the file. You must create
a project or folder if you do not already have one. The project should
be an EGL project, EGL web project or EGL plug-in project.
- In the workbench, click .
- Select the project or folder that will contain the EGL build file.
In the File name field, type the name of the
EGL build file, for example MyEGLbuildParts.
The extension .eglbld is required for the
file name. An extension is automatically appended to the end of the
file name if no extension is specified; if the extension is invalid
an error message is generated and the file is not created.
- Click Finish to create the build file with
no EGL build part declaration. The build file appears in the Project
Explorer view and automatically opens in the EGL Build Parts Editor.
- To add an EGL build part before creating the build file, click Next.
Select the type of build part to add, then click Next.
Type a name and a description for the build part, then click Finish.
The build file appears in the Project Explorer view and automatically
opens in the EGL Build Parts Editor.