How to link source in Eclipse to a RSE created remote system [message #653485] |
Wed, 09 February 2011 17:27  |
Eclipse User |
|
|
|
I used RSE pluggin to create a remote system connection in eclipse so I can access the files in that system. A lot of my files in my eclipse project are in the remote system. Please let me know how to link source to that remote system.
Before, I use samba to map a drive to the remote system. But right now, samba is not available to me anymore. The only thing is availble is ssh.
|
|
|
|
|
Re: How to link source in Eclipse to a RSE created remote system [message #657872 is a reply to message #653485] |
Fri, 04 March 2011 07:20   |
Eclipse User |
|
|
|
Hi Tim,
for remote CDT, the RDT component of the PTP project should be your first station to look at:
http://eclipse.org/ptp/documentation/3.0/org.eclipse.ptp.rdt .doc.user/html/toc.html
http://eclipse.org/ptp/
EFS is in fact a low-level API which allows the normal Eclipse WOrkspace to refer to remote files (File > New : Advanced : Link to folder in file system : choose EFS Provider). For more info see
http://wiki.eclipse.org/EFS
The biggest problem of EFS is that when your Eclipse Workspace needs a refresh, a lot of data traffic occurs. This will only work well when your remote system is reasonably near without long latency / turnaround time.
Another problem of the RSE EFS implementation is that it requires some highlevel (UI) components to do the lowlevel (non-UI) work. Because of that, a plain remote project won't open on restart - you always have to link remote files.
None the less, the RSE EFS provider is being used a lot, for instance Zend Studio for PHP is a commercial IDE that uses it a lot. I've heard also the DLTK people use it. Aptana, on the other hand, did their own non-RSE EFS implementation on top of a different SSH library - but it's available in Open Source too (http://aptana.com).
Hope this helps - if it did, please consider updating the TM FAQ on the Wiki such that others can learn about these things too.
Thanks,
martin
|
|
|
|
Re: How to link source in Eclipse to a RSE created remote system [message #658869 is a reply to message #658845] |
Thu, 10 March 2011 03:01  |
Eclipse User |
|
|
|
Yes, giving RDT a try is certainly interesting in case your remote app has dependencies into remote include paths etc such that a local mirror of the sources wouldn't be helpful.
When the source code indexing / dependencies into includes is not so much of a problem I'd definitely recommend the SSH rsync approach instead. You could investigate doing a "pre-build-step" which would execute the rsync before running the build then it's one less manual step.
I see your point about remote Clearcase. In fact an earlier version of the commercial tool that my company sold had a "Remote Clearcase adapter" (not Eclipse based at the time). What we did was execute checkin/checkout on the remote dynamic views through an SSH shell. Then rsync everything to the local for editing. Then rsync back for the build and checkin. It worked lovely, some developers are still using it here so I think the architecture / workflow was right.
Nowadays people are more gravitating towards "Cloud environments" for development ie you have everything remote / in the Cloud. You might want to have a look at IBM Jazz. It provides the remote CM as well as remote build servers and much more for team integration.
|
|
|
Powered by
FUDForum. Page generated in 1.79396 seconds