Creating and maintaining a build file

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: 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:
  1. 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.
  2. In the workbench, click File > New > EGL Build File.
  3. 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.
  4. 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.
  5. 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.

Feedback