To tell NetBeans where to look for files on the remote OpenVMS
system
Mount Remote Advanced Server/Samba Filesystem
Mounting
an Advanced Server or Samba
(SMB-based) Filesystem
1. If you have not already done so, map a network drive to the remote OpenVMS system and add and connect to a remote server.
2. In the NetBeans IDE, click the Filesystems tab.
3. Right click Filesystems, and select Mount... Remote File System or Archive.
In the Remote File System Wizard, all currently connected remote systems are displayed in the drop-down menu. If your server is not displayed, it means it is not connected. (Go back to the Services tab and add or connect your server before continuing.)
4. Select the remote server, then click Next.
5. Select the Remote File System or Archive type. In this case, select Advanced Server or Samba based shared network file system.
6. In the Look In... drop down menu, click the remote server network drive.
7. Select a directory on the remote system where your source files reside. The directory will be displayed in the File Name box. (It may take several seconds for the directory to be displayed.)
Note The OpenVMS directory displayed in the Remote Directory box is equivalent to the share name of the remote system. Click Finish.
For example, if your mapped drive file name is
X:\User\src
then the corresponding remote directory is
EFS$:[USER.src]
Mounting
an FTP Filesystem
To mount an FTP filesystem, use the Mount Remote Filesystem wizard.
1. In the NetBeans IDE, click the Filesystems tab.
2. Right click Filesystems, and select Mount... Remote File System or Archive.
3. Select the remote server, then click Next.
4. Select the Remote File System or Archive type. In this case, select FTP based file system.
5. Fill out the remote and local directories as described below.
- Browse to select a remote default directory for the FTP filesystem root by clicking on the Chooser […] button. The Remote FTP Directory Root is the root directory on the OpenVMS machine that you want to access. Usually, this will be your project root directory. For example, DISK1$:[MYUSERACCT.Proj1]. (If the dialog box does not show any files, you may need to upgrade the version of Java on your desktop.)
- Browse to select a Local FTP Directory Root to store copies of the files from the OpenVMS machine. This directory will contain some or all of the files found in the remote FTP default directory.
- If you want this FTP filesystem to be read-only (no writes will be allowed), click the Read-only checkbox.
- If you want to use a different port for the FTP server, enter it here. Under normal circumstances you should use the default FTP port 21.
- Check the FTP Port Forwarded checkbox if you want the FTP port forwarded to the SSH tunnel to secure your FTP connection. (This assumes that an SSH tunnel is already established on your Distributed NetBeans client machine.)
- Check the Passive FTP checkbox (recommended) if you want to use passive FTP mode. In passive FTP mode, the client initiates both connections (command and data) to the server, which solves the problem of firewalls filtering the incoming data port connection to the client from the server.
- Choose whether or not to have the files automatically synchronized (Auto Sync) between the client and server. (In most cases you should choose Auto Sync.)