Adding an Existing File to a Project

See Also 

When you add directories and files to a project, they become viewable in the Project window. All files that have been added to a project are checked by the compiler when you choose the Compile Project and Build Project commands.

Mounting a directory does not automatically make the files appear in the Project window.

To add an existing directory, package, or file to a project:

  1. Choose Window and choose Project to open the Project window.
  2. Right-click the root Project node, and choose Add Existing.
  3. In the Select Objects dialog box, navigate to the directory, package, or file you want to add to the project. Click OK.

    The node that you select appears in the Project window as a link. If you delete this node, the node disappears from the Project window. However, the files remain accessible in the Filesystems window.

Tip You can also add a directory, package, or file to a project by right-clicking the file in the Filesystems window and choosing Tools and choosing Add To Project.
See Also
Projects in the IDE
Creating a New Project
Adding a New File to a Project
Deleting a Project

Legal Notices