Declaring the Classpath in a Free-Form Project

See Also 

In a , all classpath relationships between your source folders are handled by your Ant script. In order for the IDE to know which classes to include in code completion and refactoring, you have to declare the classpath in the project settings.

You first declare the classpath in the New Project wizard when creating the project. You can edit all classpath declarations for an existing project in the Project Properties dialog box.

To declare the classpath for a project:

  1. Build the project so that all of the project's build outputs (JAR files and WAR files) exist on your computer.
  2. In the Projects window, right-click the project node and choose Properties.
  3. Click Classpath in the right panel of the Project Properties dialog box.
  4. Declare the classpath for the project.

For a full guide to configuring free-form projects, see:

See Also
About Free-Form Projects
Adding a Source Directory to a Free-Form Project
Adding Javadoc to a Project
Attaching Source Code to a JAR File

Legal Notices