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:
- Build the project so that all of the project's build outputs (JAR files
and WAR files) exist on your computer.
- In the Projects window, right-click the project node and choose Properties.
- Click Sources in the right panel of the Project Properties dialog box and
add the source folder.
- Click Classpath in the right panel of the Project Properties dialog box
and set the classpath for the source
directory.
- Click Output in the right panel of the Project Properties dialog box and
specify the source folder's build output.
- 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