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:
-
Select the cartridge in the Studio Projects view.
-
From the Project menu, select Properties.
-
Select Java Build Path.
-
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:
-
Create a working directory. For example, UIM_LIB.
-
Copy the files from your UIM installation to the working directory you just created.
-
Add a new variable named UIM_LIB that points to this working directory. (The following steps show how to add the new variable.)
-
-
Click Add Variable.
The New Variable Classpath Entry dialog box appears.
-
Click Configure Variables.
The Preferences dialog box appears.
-
Click New.
The New Variable Entry dialog box appears.
-
In the Name field, enter UIM_LIB.
-
Click Folder and browse to the directory you created in a previous step.
For example, the UIM_LIB directory.
-
Click OK.
The Preferences dialog box appears.
-
Click OK.
The Classpath Variables Changed dialog box appears, suggesting that you do a full build now.
-
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.
-
Click Cancel.
The Properties dialog box appears.
-
Click OK.
-
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.