| Summary: | [RDT] ProjectNotConfiguredException when hitting F3 "Open Declaration" | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Thomas . <spam-receiver> |
| Component: | RDT | Assignee: | Project Inbox <ptp-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | g.watson, jamesblackburn+eclipse, recoskie |
| Version: | 4.0.3 | Keywords: | needinfo |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Thomas .
PTP is mentioned in the error, not CDT Yes, but it happens for C++ files. Did you create a remote project for this, or a regular CDT project? The behaviour of the Remote C/C++ Editor is to fall back to local behaviour if the file is local, so I am somewhat surprised you are seeing this. The error would seem to inidcate you have a remote project that somehow doesn't have a service model configured for it. Which version of PTP do you have installed? (In reply to comment #3) > Did you create a remote project for this, or a regular CDT project? I don't remember, but probably "Remote C/C++ Project", because the error doesn't appear for normal C/C++ projects. How can I find out? > The behaviour of the Remote C/C++ Editor is to fall back to local behaviour if > the file is local, so I am somewhat surprised you are seeing this. The error > would seem to inidcate you have a remote project that somehow doesn't have a > service model configured for it. What do you mean with "Service Model"? I can find in the workspace preferences the page "Service Confiurations". Is this the same? If yes: No, I don't have a service configuration set up. But I remember the error showing up, even if remote indexing service has been set up (although as mentioned the files are local). > Which version of PTP do you have installed? 4.0.3.201009162109 for: Parallel Tools Platform (PTP) End-User Runtime PTP Remote Development Tools (RDT) PTP Remote System Explorer Adapter (In reply to comment #4) > I don't remember, but probably "Remote C/C++ Project", because the error > doesn't appear for normal C/C++ projects. How can I find out? Open the .project file for your project, and check the project natures. If it's a remote project, then you will see RemoteNature in there. I think part of the problem here is that you created a remote project, but pointed it at local files. You should point the project location at the remote server using a remote filesystem provider such as RSE. If you wish to treat your project as local, then there is no benefit to creating a remote project. You will also need to create a service configuration for this project while you are creating it. The wizard should take care of that (In reply to comment #5) > (In reply to comment #4) > > I don't remember, but probably "Remote C/C++ Project", because the error > > doesn't appear for normal C/C++ projects. How can I find out? > Open the .project file for your project, and check the project natures. If > it's a remote project, then you will see RemoteNature in there. Yes, it's there, and also is the RemoteMakeNature. But I created the project before the latest Eclipse update, i.e. version was dated from June 2010. > I think part of the problem here is that you created a remote project, but > pointed it at local files. You should point the project location at the remote > server using a remote filesystem provider such as RSE. If you wish to treat > your project as local, then there is no benefit to creating a remote project. The benefit I'm trying to get is the following: - The files are hosted on a Solaris box with ClearCase. When I use the WinXP mount of the ClearCase folders, I can make use of all the ClearCase features (checkin, checkout, diff, etc.). Also the index is held locally, which makes access quick for me. From this point, standard C/C++ project is fine. - Builds have to be run on a different Solaris box. The ClearCase paths are mounted there, too. I want to call the build from within Eclipse, i.e. do some remote development. So I set up the remote project with local files, configured the remote connection and also tried to configure the services. > You will also need to create a service configuration for this project while you > are creating it. The wizard should take care of that. The remote connection works fine, I can browse files via the RSE, open shells etc. But because remote building didn't work, I removed the service configuration. This error still occurs and still is a show stopper for using Eclipse. I have installed all latest software. Can you please advise a workaround? Development on RDT has shifted to synchronized remote projects. Are you able to use these instead? (In reply to Greg Watson from comment #8) > Development on RDT has shifted to synchronized remote projects. Are you able > to use these instead? I have not observed the issue for a really long time. Probably some changes in my project configuration have obsoleted the problem. No longer a problem. Please open another bug if you have any other issues. |