Editing a resource associations part in an EGL build file

A resource associations part relates a file name with a system resource name on the target platform where you intend to deploy the generated code.

To edit a resource associations part, do as follows:

  1. To open an EGL build file with the EGL build parts editor, do as follows in the Project Explorer:

    1. Right-click on the EGL build file

    2. Select Open With > EGL Build Parts Editor

  2. If the Outline view is not displayed, open that view by selecting Show View > Outline from the Window menu.

  3. In the Outline view, right-click a resource associations part and click Open. The editor displays the current part definition.

  4. To add a new Association element to the part, click Add Association or press the Insert key, and type the logical file name or select a logical file name.

  5. To change the default system name associated with your logical file name, you can either:

    • Select the corresponding row in the Association elements list, then click the name once to put the field into edit mode. Select the new system name from the System drop-down list.

    • In the Properties of selected system entries list, click the system property once to put the Value field associated with that property into edit mode. Select the new system name from the Value drop-down list.

  6. To change the default file type associated with your logical file name, you can either:

    • Select the row in the Association elements list that corresponds to your logical file name, then click the name once to put the field into edit mode. Select the new file type from the File Type drop-down list.

    • Select the row in the Association elements list that corresponds to your logical file name. In the Properties of selected system entries list, click the fileType property once to put the Value field associated with that property into edit mode. Select the file type from the Value drop-down list.

  7. Modify the resource associations as needed.

    • To associate more than one system and set of related properties with a logical file name, select the row in the Association elements list that corresponds to your logical file name. At the bottom of the Association elements list, click Add System. The added row is now selected and available for editing.

    • To remove a system and related properties from an associated logical file name, select the row in the Association elements list that corresponds to your logical file name. At the bottom of the Association elements list, click Remove or press the Delete key.

    • To remove a logical file name and any associated systems, select the row in the Association elements list that corresponds to your logical file name. At the bottom of the Association elements list, click Remove or press the Delete key.

Related concepts
Build descriptor part
Resource associations and file types

Related tasks
Adding a resource associations part to an EGL build file
Removing a resource associations part from an EGL build file

Related reference
EGL build-file format