Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remotely develop software?

Tags:

ide

Suppose I have a server that runs on Linux on which I would like to develop software (mainly OCaml, C/C++ and Java).

Is there a way to "remote develop" these things? I mean an IDE that allows me to modify files remotely (they are then uploaded when modified and saved) and to compile through SSH (basically invoking make or omake).

I was looking for something that makes this process transparent to the developer, without caring of doing things by hand. I'm used to use Eclipse so I wonder if a plugin to achieve this exists or if are there other choices?

Mind that it may happen that the local machine it not able to build software I intend to (for example for OCaml) so it should rely just on remote connection.

Thanks in advance

like image 894
Jack Avatar asked Jul 23 '10 16:07

Jack


2 Answers

You can use X11 forwarding. Even if you are connecting from a Windows machine.

If you are on Linux, connecting with ssh -Y might work right out of the box for you:

ssh -Y user@your_server
eclipse &
like image 150
karlphillip Avatar answered Oct 26 '22 19:10

karlphillip


Well the simplest idea I can think of, though it is rather brute force would be to just open up a file share to the server and then edit the file directly through Eclipse.

If that doesn't work for Java at least you could make use of Maven to do some of those tasks. I am less certain about invoking Make though.

like image 36
Matt Avatar answered Oct 26 '22 18:10

Matt