Setting a Relative Mount Point

See Also

When mounting a directory that contains Java source code, you must mount it at the Java package root in order for it to compile correctly. In VCS filesystems, however, the VCS root is often different than the package root. You can solve this problem by mounting the VCS filesystem at the VCS root and setting relative mount points for each of the Java package roots it contains.

For example, consider the following directory structure:

MyProject --> VCS root
  src     --> Java package root
  lib
  docs
  test    --> Java package root
  build.xml

In this case you must mount the VCS filesystem at MyProject and set relative mount points at both src and test.

note You cannot set relative mount points for PVCS filesystems. You have to mount each Java package root as its own filesystem.

To set or change the relative mount point for a VCS filesystem:

  1. In the Filesystems window, right-click the VCS filesystem's root node and choose Customize. You can also set relative mount points in the New VCS Filesystem wizard when mounting a VCS filesystem.
  2. Click the Browse button next to the Relative Mount Point field.
  3. In the Relative Mount Point Browser, select the directory you want to be the relative mount point and click OK.
  4. Click Close to close the customizer.
note You can set multiple relative mount points to access directories that are parallel with the Java package root in your source hierarchy. On the Relative Mount Point page, hold down the Control key and select each mount point. Each mount point is mounted as its own filesystem.
See Also
Mounting a VCS Working Directory
Getting Files From a CVS Repository
Setting Up a Local CVS Repository
VCS Filesystem Properties
VCS Filesystem Customizer

Legal Notices