Mounting a Filesystem

To work with filesystems that were created outside of the IDE, you must mount them in the IDE. Likewise, any libraries that your project depends on need to be mounted for your project to run in the IDE.

For Java applications, mounted directories must be mounted at the default package, and the sources in them must be in packages corresponding to their position relative to the mount point. If a filesystem of Java sources is mounted at the wrong point, the IDE can not compile the sources, and other problems will arise.

For example, if you have multiple source trees with the package root of each tree grouped together under one directory, you have to mount each package root separately. For example, if you have the following structure

src
    app
        com
            myapp 
                myapp.java
    lib
        com
            mylib
                mylib.java
where app and lib are the package roots, you can not simply mount src. You have to mount app and lib separately.

To mount a directory in the IDE:

  1. Choose File Mount Filesystem from the main window.
  2. In the Mount Filesystem dialog box, select the Add Local Directory radio button.
  3. Type the name of the directory in the Directory field or click Browse and choose the directory from the file chooser dialog box.
  4. Click OK to close the dialog box and mount the directory.

To mount a JAR or ZIP archive in the IDE:

  1. Choose File Mount Filesystem from the main window.
  2. In the Mount Filesystem dialog box, select the Add JAR File radio button.
  3. Type the name of the path and name of the file in the JAR File field or click Browse and choose the file from the file chooser dialog box.
  4. Click OK to close the dialog box and mount the JAR file.
You can also find the Mount Directory and Mount JAR commands on the contextual menu of the root Filesystems node in the Filesystems tab of the Explorer.

Mounting a Directory With Version Control
Mounting a CVS Filesystem
See also
Filesystems and the Java Classpath
Opening a File not in a Mounted Filesystem
Changing the Mount Order of Filesystems
Configuring a Mounted Filesystem
Specifying Files to Ignore in a Filesystem

Legal Notices