Work on a remote project with Eclipse via SSH and SVN+SSH (2 remote Linux)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Work on a remote project with Eclipse via SSH and SVN+SSH (2 remote Linux)
I have the following boxes:
a) A Windows box with Eclipse CDT(or PTP)
b) A Linux box,including Compiler, accessible for me only via SSH.
c) A Linux box, including SVN Source, accessible for me only via SSH
Both the compiler and the hardware required to build and run my project is only on machine B.
I'd like to work "transparently" from a Windows box on that project using Eclipse CDT -or PTP - and be able to build, run and debug the project remotely from within the IDE.
How do I set up that:
The building will work? Any simpler solutions than writing a local makefile which would rsync the project and then call a remote makefile to initiate the actual build? Does Eclipse managed build have a feature for that? The debugging will work? Preferably - the Eclipse CDT -or PTP-code indexing will work? Do I have to copy all required header files from machine B to machine A and add them to include path manually?
@pwalden: we don't have permission to install Eclipse on B, we don't have write access to /usr/{lib,bin} on B. B is a server but A is personal computer.
Last edited by alwaystudent; 08-12-2015 at 12:10 AM.
@pwalden: we don't have permission to install Eclipse on B, we don't have write access to /usr/{lib,bin} on B. B is a server but A is personal computer.
I am not a big Eclipse user nor am I a big Windows fan, however, Eclipse is going to at least expect filesystem access to the source code. You can try to use something like win-sshfs to mount (c)'s files to your Window system.
You may also be able to configure Eclipse to use ssh to invoke the compiler on (b). Use ssh-keygen to generate a ssh key to allow password-less execution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.