Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330782

Summary: No "Paths and Symbols" property page visible
Product: [Tools] CDT Reporter: Marko Tomljenovic <marko.tomljenovic>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: yevshif
Version: 7.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Example project none

Description Marko Tomljenovic CLA 2010-11-22 05:07:06 EST
Build Identifier: CDT 7.0.1

When I create CDT project using the call

CCorePlugin.getDefault().createCDTProject(project.getDescription(), project,
         CCorePlugin.DEFAULT_PROVIDER_ID, new NullProgressMonitor());

the project is created correctly but I cannot change the include paths, symbols using the mentioned property page. The property page seems to be visible only if the project is a managed make project.

But I need to use only the CDT Index features and not the build features of CDT.

Reproducible: Always
Comment 1 Andrew Gvozdev CLA 2010-11-23 10:15:55 EST
Can you attach a sample project created like that?
Comment 2 Marko Tomljenovic CLA 2010-11-23 13:58:08 EST
Created attachment 183696 [details]
Example project

The example_project has been created by the call:

String cfgDataProviderId = CCorePlugin.DEFAULT_PROVIDER_ID;
// Creates a CDT Make Project
CCorePlugin.getDefault().createCDTProject(project.getDescription(), project, cfgDataProviderId, new SubProgressMonitor(monitor, 1));

The non cdt 'project' has already been created before.
Comment 3 Marko Tomljenovic CLA 2010-11-23 14:00:31 EST
Using the MakeCorePlugin.CFG_DATA_PROVIDER_ID the paths and symbols page is visible. But trying to change the configuration (pressing on the button) produces an exception.
And according to the mailing list using the MakeCorePlugin.CFG_DATA_PROVIDER is deprecated and should be replaced by using the ManagedBuildManager which I would not like to use.