Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Remote C++ projects

Hello,

I'm trying to understand how to use the remote develop tools and I find it 
hard to get an overview on what's needed and what features the tools provide.

I have downloaded eclipse-parallel-luna-SR2-linux-gtk-x86_64.tar.gz which 
should be preconfigured for remote project development.

When I create a new connection I can select between:
  - dstore
  - ssh
  - ftp

When looking at the documentation it looks like that dstore would be the best 
connection method: "RDT provides advanced parsing and indexing functionality 
for C/C++ projects in a remote client-server scenario. The RDT server 
component, which contains the parser and index database, must be located on 
the same remote machine as the project files. " 
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.ptp.rdt.doc.user%2Fhtml%2Fgettingstarted%2Fserver_installation.html

But after looking at this bug report: 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=367490
it looks like remote projects are deprecated and I should switch over to 
synchronized projects.

Here is a short explanation of what I was hoping to achieve: I have a 
BeagleBone Black where I want to develop on. As the hardware is rather limited 
I wanted to use my computer to develop the software using eclipse. I was 
hoping that by creating a remote project I wouldn't have to install the needed 
header files on my computer as they were fetched and send to my computer by 
the RDT server. I then wanted to use distcc to start the compilation on the 
BeagleBone and distribute it to my work PC where I have a cross toolchain 
installed.

When I create a synchronized project I guess I would have to install all the 
included header files on my computer, so that the parser is able to check the 
function calls.

Running the RDT server (http://download.eclipse.org/tools/ptp/updates/luna/ 
RDT Server (Linux Generic)) results in the following error as soon as I try to 
list the files in the "Remote Systems" view:
"# perl server.pl 41607                                                  
DStore Server Starting...                                                                                      
Server Started Successfully                                                                                    
41607                                                                                                          
Server running on: beaglebone                                                                                  
Exception in thread "DStore CommandHandlerThread-0" 
java.lang.UnsupportedClassVersionError: org/eclipse/cdt/co
re/index/IIndexFileLocation : Unsupported major.minor version 51.0  
"
I'm hesitating reporting this bug because of the mentioned bug report. When I 
use the RSE server 
(http://download.eclipse.org/tm/downloads/drops/R-3.5GA-201305311734/index.php 
        rseserver-linux-3.5-GA.tar) the file listing works.

So to summarize:
Available connections:
Remote Tools:
 - deprecated 
(http://help.eclipse.org/luna/topic/org.eclipse.ptp.doc.user/html/remoteTools.html)
RDT server:
  - used for remote C/C++ projects
  - files are stored remotely
  - no need to have included header files installed on development computer?
  - doesn't work (see above)
SSH:
  - preferred method for synchronized C/C++ projects

Available project options:
Remote projects:
  - deprecated (see bug report mentioned above)
Synchronized projects:
  - currently only supported/prefered method (see mentioned bug report above)?

Is this summary correct or do you have any comments on this?


Regards
Martin


Back to the top