Paths page (Project Properties dialog box)

The Paths page of the Project Properties dialog box sets the following options:

To set these options for all new projects, choose Project|Default Project Properties.

JDK

This is a feature of JBuilder Professional and Enterprise.

Sets the version of the Java Development Kit (JDK) to use when compiling and running your project. The version that ships with JBuilder is the default. JBuilder can compile and run against all Sun JDKs and many others.

Note: Depending on the features used in your application, there may be restrictions on which JDK you can use. For example, for CORBA applications, you must use JDK 1.1.6 or later.

Click the ellipsis button (...) to display the Select A JDK dialog box where you change the selected JDK and add new ones. Within this dialog, either browse to a registered JDK location or else click New to open the New JDK Wizard, from which you can set a path to a different JDK.

Output Path

The path in which the compiler places .class files and copies defined resources, such as images, audio, and properties files from the source path. There can only be one output path per project.

The root of the default path in the Project Wizard is the root set by the selected template project.

Click the ellipsis button to display the Select Directory dialog box, where you can change the path.

Important: To define individual files and project-wide file types as resources, see Build page: Resource tab.

Backup Path

The path in which the backup files are saved.

The root of the default path in the Project Wizard is the root set by the selected template project.

Note: JSP files, HTML files, and some other text files are not treated as source files. These files are backed up in their original directories. However, you can include these backups in the backup directory of your project instead. To do so,

  1. Select Project|Project Properties and select the Paths page.
  2. Select the Source page inside the Paths page.
  3. Click Add in the Source page. This brings up the Select One Or More Directories dialog box.
  4. Browse to the project backup directory, select it, and click OK.

Working Directory

Sets the working directory for the project.

The root of the default path in the Project Wizard is the root set by the selected template project.

Source page

Displays the path or paths the compiler searches for source files. Files can be in a ZIP or JAR file. Select the default source and test paths. It's possible to choose the same path for both functions.

The default source path is where JBuilder wizards store newly-generating source files. The root of the default path in the Project Wizard is the root set by the selected template project.

Test paths and Unit Testing are features of JBuilder Enterprise.

The test path is used when you use JBuilder's unit testing features. This provides the option of using a different area for testing so you can easily separate your tests from your other code. This is most useful in deployment.

Paths are searched in the order listed. To switch the order of paths, use the Move Up and Move Down buttons.

Documentation page

Displays the path or paths that contain the HTML documentation files for the project. This allows reference documentation to be displayed in the doc pane.

By default, the Javadoc wizard causes documentation to be generated to the first entry that is a file directory.

Paths are searched in the order listed. To switch the order of paths, use the Move Up and Move Down buttons.

Required Libraries page

The libraries used by the compiler and by CodeInsight.

Libraries are searched in the order listed. To switch the order of libraries, use the Move Up and Move Down button.

There are three possible colors for libraries listed:

Colors in library lists

Color Description Troubleshooting
Black The library is defined correctly.  
Red The library definition is missing. This typically means the project refers to a library that is not yet defined. It can also mean the library has been defined without any paths.
Gray Use of this library requires an upgrade. You need to upgrade your edition of JBuilder in order to use this library. For example, if you have JBuilder Personal, use of the dbSwing library requires that you upgrade to either JBuilder Professional or Enterprise.

Add

If the Source or Documentation tab is selected, the Add button displays the Select Directory dialog box where you choose the new path.

If the Required Libraries tab is selected, the Select One Or More Libraries dialog box is displayed, where you select the library to add.

Edit

If the Source or Documentation tab is selected, the Edit button displays the Select Directory dialog box where you choose the new path.

If the Required Libraries tab is selected when you click Edit, the Configure Libraries dialog box is displayed.

Remove

Removes the selected path or library from the list.

Move Up

Moves the selected path or library up in the list.

Move Down

Moves the selected path or library down in the list.

Reset

Resets everything to the state they were in when the dialog box was displayed.

See also