how to setup Eclipse for remote access?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
ronny89's picture

ciao folks,

i'm currently setting up a development environment whose primary use is intended for testing and debugging a 'beta' of the live site that i run.

so far i have set up the following:

a virtual machine with
* LAMP-stack on an Ubuntu-OS
* XDebug-extension to Apache
* a Drupal installation that matches my live setup

Eclipse as IDE on my workstation with
* PDT (PHP Development Tools)
* RSE (Remote System Explorer)

i'm a complete noob to anything of these except LAMP and running a Drupal site, and i can imagine different approaches on how to access the files on the virtual machine from within Eclipse. at least i didn't manage to do this intuitively. and it seems to me that Eclipse is designed to store its project files locally.

so my question to the experienced audience is:
how would you setup a project in Eclipse to access an existing Drupal installation on a (in this case virtually) remote machine with debugging in mind?

i hope i provided enough information to give you an idea of my point.

have a nice day!

Comments

remote access in eclipse IDE

optimusprime619's picture

Looking at this post after 3 years while trying to figure pieces of a similar puzzle, here's what I know till now

  1. Eclipse provides a Remote systems view to eliminate using an external SFTP client like Filezilla/WinSCP.

  2. Navigate to Window >> Show View >> Find Remote Systems and choose the option within it also labelled Remote Systems. Click OK.

  3. Subsequent screens would require the Remote machine hostname and authentication credentials. On completion a Remote Systems window similar to the local PHP Explorer opens up listing the files & directories.

  4. Editing and saving any of the files would now do a remote synchronization thus eliminating the use of an external SFTP.

What I am yet to figure out is to know if its possible to have a UI git command integration on this remote structure similar to local environments where I can right click on the directory structure and select Git pull. Hope this helps someone.

Don't forget for remote

Jamie Holly's picture

Don't forget for remote system access you also need the Remote System Explorer (RSE) plugin for Eclipse.

The right click GUI style GIT system on a remote server could be done, but it would be of pretty poor quality. One of the biggest obstacles is the fact that such functionality would depend upon the remote system's installation of GIT and being limited to basically becoming a system that just issues shell commands via SSH through RSE when you did the right click. Launching a terminal, going to the directory and issuing a "git pull" is about as easy and a lot safer, especially if dealing with a production site.

The other alternative, if you really want a remote GIT GUI is to install something like xming on the remote server and do x11 forwarding over SSH, or use VNC.


HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.

Drupal IDE

Group organizers

Group categories

Drupal IDE Tags

Dev Software

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week