Setting the default build descriptors

This topic gives instructions for setting the default build descriptors at either the preference level or the property level.

You can set the default build descriptors in two ways:
  • To specify preferences for build descriptors at the workbench level, follow these steps:
    1. Click Window > Preferences > EGL > Default Build Descriptor.
    2. For Debug build descriptors, click Browse to specify Build Descriptor parts for either of the following situations:
      Interpretive
      Default for Java or COBOL generation
      JavaScript
      Default for generating Rich UI programs
    3. For Target system build descriptor, click Browse to specify Build Descriptor parts for either of the following situations:
      Java
      Default for Java generation
      Cobol
      Default for COBOL generation
      JavaScript
      Default for Rich UI generation
    4. For Update default build options for project when runtime data source is modified, click one of the following options:
      Prompt
      EGL displays a dialog asking if you want to change build descriptor options when you select a project and select a database connection from the EGL Runtime Data Sources property page for that project.
      Always
      EGL changes build descriptor options automatically
      Never
      EGL does not change build descriptor options when you select a project and database connection.
    5. Click Apply; then click OK.
  • To specify default build descriptors as properties of a resource:
    1. Right-click the project, folder, package, or file in the Project Explorer view, then click Properties.
    2. Click EGL Default Build Descriptors.
    3. For each of the two categories, Debug build descriptors and Target system build descriptors, select one of the following options:
      Inherit default values...
      Use the appropriate Build Descriptor part from the projectName.eglbld build file that EGL created automatically with the project. The type of the project determines which Build Descriptor part becomes the default. For more information, see "Build Descriptor part."
      Specify default build descriptor values for this resource
      Click Browse to select a Build Descriptor part for any of the displayed categories.
    4. Click OK.
When you generate a part, EGL starts at the file level, and works out to the workbench level to find the first place that you have specified a default build descriptor. For more information, see "Build Descriptor part."