Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367061 - Language mappings as created in a Helios project are ignored when imported in Indigo (backward compatibility issue)
Summary: Language mappings as created in a Helios project are ignored when imported in...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: 8.0.2   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 05:55 EST by Richard Horbach CLA
Modified: 2011-12-19 11:23 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Horbach CLA 2011-12-19 05:55:34 EST
Build Identifier: M20110909-1335

When importing a project that was created with a previous version of CDT, the language mappings set are being ignored. Apparantly the problem is related to where the mappings are being stored in the cproject file.

In Helios the language mappings were stored within a 'cconfiguration' element.

In Indigo  the language mappings are stored on global scope, outside a 'cconfiguration' element.

Reproducible: Always

Steps to Reproduce:
1. Create a cygwin project with Helios.
2. Add a language mapping: Properties > C/C++ General > Language Mappings > Add: (All) - C Csource File - GNU C
3. Import the project with Indigo: File > Import > Existing Projects into Workspace
4. Take a look at the language mapings: Properties > C/C++ General > Language Mappings. No language mappings are displayed/discovered.
Comment 1 Anton Leherbauer CLA 2011-12-19 10:21:59 EST
Fixed backwards compatibility in cdt_8_0 and master.
Comment 2 CDT Genie CLA 2011-12-19 11:23:02 EST
*** cdt git genie on behalf of Anton Leherbauer ***

    Bug 367061 - Language mappings as created in a Helios project are ignored when imported in Indigo (backward compatibility issue)

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b68056468484ca6a88d1d6a0969f0a2907004746
Comment 3 CDT Genie CLA 2011-12-19 11:23:03 EST
*** cdt git genie on behalf of Anton Leherbauer ***

    Bug 367061 - Language mappings as created in a Helios project are ignored when imported in Indigo (backward compatibility issue)

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=79f305532d496f0e69b557bd177d2716aabd73be