C/C++ Remote Development Modes
See Also
The IDE offers three modes of remote development: simple, mixed, and full. The main difference between the modes
is where the source files reside.
In simple remote development mode, the source files reside primarily on your local
host. When you build your project, the source files are delivered to the remote
Linux or Oracle Solaris host using SSH File Transfer Protocol (SFTP).
Use simple remote development if you develop mostly on local files, but your application is
targeted at platforms such as Linux or Oracle Solaris.
Simple mode provides these benefits:
-
You can use the same IDE for local and remote development.
-
You can switch easily between hosts and platforms in the IDE.
-
You can use the IDE in an SSH-only environment.
-
Your mobility is improved.
To use simple remote development:
-
Set up a remote build host
-
Set the remote build host's Access Project Files Via property to SFTP or Automatic Copying.
-
Set up your project to use the remote build
host
In mixed or shared mode, the source files reside in a location that is shared between the
local host and remote host using NFS, Samba, WebDAV, or another file sharing system. This
mode is a good choice if your source files are located on a file server on a network that
is accessible to your development system and target platform systems.
The benefits of using mixed mode in this environment are:
-
You can easily switch between hosts and platforms in the IDE.
-
There is no duplication of files (caching) such as would occur in the other two modes.
-
The network throughput will be as good as your file sharing mechanism (for example, NFS,
Samba, or WebDAV) can provide.
To use mixed remote development:
-
Set up a remote build host
-
Set the remote build host's Access Project Files Via property to System-level File
Sharing.
-
Set up your project to use the remote build
host
In full remote mode, the source files reside on the remote host. The IDE runs on the local
host and accesses the files using SFTP.
Full remote development is useful when the remote host is set up with a development
environment that you are sharing with other users, and accessing through remote windowing
technologies such as VNC.
The benefits of using full remote mode in this environment are:
-
Migration from using X-window forwarding or VNC is virtually seamless.
-
Your IDE response time improves.
-
You are less dependent on the resources of the remote development host.
-
A smaller load on the development host reduces the load on the server.
-
You can create new remote projects from remote binary files.
To use full remote development:
-
Set up a remote build host
-
Set the remote build host's Access Project Files Via property to anything
because this property is not relevant in full remote mode. SFTP is used to transfer
files.
-
Use the Remote Development toolbar to select a
remote host, and create remote projects, and open remote projects.
-
Work with your projects just the same as local projects.
- If you are using a version control system, see
Using Full Remote Mode with Version Control Systems
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.