Configuring the UIM Project Library List

Depending on the imported project, you may need to configure the project library list. If the imported project includes a library list of the files needed to compile the project, the project library list must be configured to point to a location to pick up the cited files.

To configure the project library list within Design Studio:

  1. Select the cartridge in the Studio Projects view.

  2. From the Project menu, select Properties.

  3. Select Java Build Path.

  4. Click the Libraries tab.

    The project library list contains all the files needed to compile the project.

    The library path for each file starts with UIM_LIB. Therefore, you must:

    1. Create a working directory. For example, UIM_LIB.

    2. Copy the files from your UIM installation to the working directory you just created.

    3. Add a new variable named UIM_LIB that points to this working directory. (The following steps show how to add the new variable.)

  5. Click Add Variable.

    The New Variable Classpath Entry dialog box appears.

  6. Click Configure Variables.

    The Preferences dialog box appears.

  7. Click New.

    The New Variable Entry dialog box appears.

  8. In the Name field, enter UIM_LIB.

  9. Click Folder and browse to the directory you created in a previous step.

    For example, the UIM_LIB directory.

  10. Click OK.

    The Preferences dialog box appears.

  11. Click OK.

    The Classpath Variables Changed dialog box appears, suggesting that you do a full build now.

  12. Click No.

    The New Variable Classpath Entry dialog box appears.

    Note:

    The OK button is not available, and an error displays stating “Variable points to...". Click Cancel, and the new variable is added successfully.

  13. Click Cancel.

    The Properties dialog box appears.

  14. Click OK.

  15. Open the Properties dialog box again to refresh the library list and ensure that the variable was added successfully.

    You should now see the complete path in the build path.