Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330782 - No "Paths and Symbols" property page visible
Summary: No "Paths and Symbols" property page visible
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 7.0.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 05:07 EST by Marko Tomljenovic CLA
Modified: 2020-09-04 15:20 EDT (History)
1 user (show)

See Also:


Attachments
Example project (55.11 KB, application/octet-stream)
2010-11-23 13:58 EST, Marko Tomljenovic CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.