Community
Participate
Working Groups
Currently, the remote project wizard uses org.eclipse.ptp.rdt.ui.wizards.ServiceModelWizardPageOperation to create the service model for the project. This runs after the project has been created. The problem with this is that when the CDT project is created, it will want to run the scanner discovery mechanism, which in the case of a remote project, requires a remote build. As you can imagine, this requires having a service model for the project. The proposed patch moves the service model creation to the point right after the IProject handle is created. This way the service model is available when CDT is creating the project.
Created attachment 170798 [details] propsed patch Proposed patch attached.
I saw some errors "Error updating discovered info", "Updating discovered includes and macros" when a managed project, but I think that happened before. Also, there's a problem going back from the service configuration page. Otherwise I don't see any difference.
(In reply to comment #2) > I saw some errors "Error updating discovered info", "Updating discovered > includes and macros" when a managed project, but I think that happened before. > Also, there's a problem going back from the service configuration page. > Otherwise I don't see any difference. Those errors were already there AFAIK. Scanner discovery is a bit spotty right now till I get some XLC toolchain fixes in.
Applied to HEAD.