Adding a build descriptor part to an EGL build file
A build descriptor part controls the generation process. It contains option names and their related values, and those option-and-value pairs specify how to generate and prepare EGL output. Some options specify other control parts, such as a resource association part, that are in the generation process. You can add a build descriptor part to an EGL build file. See Build descriptor part for more information. To add a build descriptor part, do as follows:
- To open an EGL build file with the EGL build parts editor, do as follows in the Project Explorer:
- Right-click on the EGL build file
- Select Open With > EGL Build Parts Editor.
- If the Outline view is not displayed, open that view by selecting Show View > Outline from the Window menu.
- In the Outline view, right-click on the build file, then click Add Part.
- Click the Build Descriptor radio button, then click Next.
- Choose a name for your build descriptor that adheres to EGL part name conventions. In the Name field, type the name of your build descriptor.
- In the Description field, type a description of your build part.
- Click Finish. The build descriptor is declared in the EGL build file and the build descriptor general options are displayed in the EGL build parts editor.
- You can optionally create a chain of build descriptors, so that the first in the chain is processed before the second, and the second before the third. If you want to begin or continue a chain of build descriptors, specify the next build descriptor in the nextBuildDescriptor option field of the Options list. To populate the nextBuildDescriptor option field, do as follows:
- Using the scroll bar on the Options list, scroll down until the nextBuildDescriptor option is in view.
- If the nextBuildDescriptor row is not highlighted, click once to select the row.
- Click the Value field once to put the field into edit mode.
- You can type the name of the next build descriptor in the Value field or select an existing build descriptor from the drop-down list.
Related concepts
Build descriptor part
Related tasks
Editing general options in a build descriptor
Editing Java run-time properties in a build descriptor
Removing a build descriptor part from an EGL build file
Related reference
EGL build-file format
Naming conventions