Mounting file systems
To work with files in the IDE that you created outside of the IDE, you must mount them to the Filesystems in the Explorer.
Mounted directories must be mounted at the default package, and Java sources in them must be in packages corresponding to their position relative to the mount point. If a file system is mounted at the wrong point, the IDE will be unable to compile its sources, and other problems will arise.
For example, mounting a file system from the point
C:\work
would not give the IDE correct access to the packageproject1
stored asc:\work\myprojects\project1
. In this case, this file system should be mounted atC:\work\myprojects
, so thatproject1
is the top-level package.To mount a new file system:
- Right-click on the
Filesystems
node in the Explorer and choose Add Directory... from the contextual menu; or- Choose Tools | Add Directory... from the main menu.
![]()
A dialog box will appear which enable you to choose the directory to mount.
To mount a new JAR or ZIP archive:
- Follow the same procedure as for adding directories, except choose Add JAR instead of Add Directory.
You can also mount a file system at the same time open one of the files in it.
To mount a file system and open one of its files:
- Choose Open File from the first toolbar or the File menu in the Main Window. A file chooser will appear which will enable you to browse your file system and select a file, which you can then add to the Filesystems tab of the Explorer. See Adding a file to the IDE.
To remove mounted directories or JAR or ZIP files from the Explorer:
Contents | Prev | Next | Index |