Adding a Source Directory to a Free-Form Project

See Also 

 can contain multiple source directories, as long as the project's Ant script contains instructions on handling those source directories.

To add a source directory to a free-form 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 Sources in the right panel of the Project Properties dialog box and add the source folder.
  4. Click Classpath in the right panel of the Project Properties dialog box and set the classpath for the source directory.
  5. Click Output in the right panel of the Project Properties dialog box and specify the source folder's build output.
  6. Click OK.

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

See Also
About Free-Form Projects
Declaring the Classpath in a Free-Form Project

Legal Notices