Specifying target/project properties

To set properties for a target/project, right-click the target/project in the System Tree and select Properties from the pop-up menu.

Close all painters

The tab pages in the target/project properties dialog box are disabled if any painters are open.

The application target/project has Library List and Deploy tabs. If there is more than one project in the target/project, you can use the Deploy tab page to specify which projects should be deployed and in which order.For more information about setting deploy properties for workspaces/solutions and targets/projects, see Building workspaces/solutions.

Specifying the target/project's library search path

The objects you create in painters are stored in PowerBuilder libraries. You can use objects from one library or multiple libraries in a target/project. You define each library the target/project uses in the library search path.

PowerBuilder uses the search path to find referenced objects at runtime. When a new object is referenced, PowerBuilder looks through the libraries in the order in which they are specified in the library search path until it finds the object.

On the Library List tab page of the Properties of Target/Project dialog box, you can modify the libraries associated with the current target/project.

To specify the target/project's library search path

  1. In the Workspace/Solution of the System Tree, right-click on the target/project containing your application and select Library List from the pop-up menu.

    The Properties of Target/Project dialog box displays the Library List tab page. The libraries currently included in the library search path are displayed in the list.

  2. Do one of the following:

    • Enter the name of each library you want to include in the Library Search Path list, separating the names with semicolons.

    • Use the Browse button to include other libraries in your search path.

    • Use the Convert & Add button to select and convert a library from the file (.pbl) to the folder (used by the solution). The library (.pbl) file will be backed up with a .bak suffix in its original location.

    You must specify libraries using an absolute path. To change the order of libraries in the search path, use the pop-up menu to copy, cut, and paste libraries.

    Make sure the order is correct

    When you select multiple libraries from the Select Library dialog box using Shift+click or Ctrl+click, the first library you select appears last in the Library Search Path list and will be the last library searched.

    To delete a library from the search path, select the library in the list and use the pop-up menu or press Delete.

  3. Click OK.

    PowerBuilder updates the search path for the target/project.

    Where PowerBuilder maintains the library search path

    PowerBuilder stores your target/project's library search path in the target (.pbt) file or project (.pbproj) file.