Bug 424420 - Problems in Project description when using CDefaultConfigurationDataProvider and subclasses of it
Summary: Problems in Project description when using CDefaultConfigurationDataProvider ...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-19 04:55 EST by Johann Draschwandtner CLA
Modified: 2020-09-04 15:23 EDT (History)
3 users (show)

See Also:


Attachments
.cproject from successfully executed test case (25.21 KB, application/octet-stream)
2013-12-19 04:55 EST, Johann Draschwandtner CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johann Draschwandtner CLA 2013-12-19 04:55:56 EST
Created attachment 238469 [details]
.cproject from successfully executed test case

The project description file .cproject is not dumped correctly, configuration settings are dumped multiple times (same section, same content).
(Whenever a setProjectDescription is triggered)


I was using a class based on the 
org.eclipse.cdt.core.settings.model.extension.impl.CDefaultConfigurationDataProvider
experiencing this problem and found that this also can be seen in the standard CDT junit tests with CDT internal classes based on this.
The test results itself are ok, but the generated .cproject file is corrupted (see attachment).


To reproduce this run:
org.eclipse.cdt.core.settings.model.ProjectCreationStateTests
but don't delete the projects from the workspace.
Comment 1 Martin Oberhuber CLA 2016-04-29 09:21:53 EDT
CQ:WIND00-WB4-729