1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-06 08:35:26 +02:00
cdt/core/org.eclipse.cdt.core
Ivan Furnadjiev 96f0e9659c Bug 475344: Don't create empty file-mapping entries in .cproject file
When file language mapping is reset back to inherit, empty (without
configuration, language and path attributes) file-mapping element is
created in .cproject file. This leads to project corruption. 

Add a check for empty entry value in
LanguageMappingStore#addFileMappings.

475344: Broken .cproject file after file language mapping is reset to
inherit
https://bugs.eclipse.org/bugs/show_bug.cgi?id=475344

Change-Id: I6e7d0b8d1199501e087ce42b75f0d8e83fca77cd
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
(cherry picked from commit a48852f21a)
2015-10-02 12:54:10 -04:00
..
.settings Cosmetics. 2015-04-03 12:05:27 -07:00
browser Bug 473578 - Include "..." in the signature of a vararg function in 2015-08-03 19:43:31 -04:00
META-INF Improved robustness of global scope handling. 2015-06-09 11:58:47 -07:00
model/org/eclipse/cdt Bug 475344: Don't create empty file-mapping entries in .cproject file 2015-10-02 12:54:10 -04:00
parser/org/eclipse/cdt Bug 474020 - [ASTRewrite] Nested modifications are suppressed by macros 2015-08-07 02:11:37 -04:00
schema fixed schema validation error on Mars 2015-03-15 13:26:57 -04:00
src/org/eclipse/cdt Bug 470538 - Build selected File(s) should create error/warning marker 2015-08-14 07:42:26 -04:00
templateengine/org/eclipse/cdt/core/templateengine Cleanup of Messages.properties and Messages.java files continued. 2014-08-04 12:40:50 -07:00
utils/org/eclipse/cdt Bug 445149 - Check the authority section when converting a URI to a UNC 2015-04-01 13:35:23 -04:00
.classpath Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
.cvsignore
.options
.project
about.html
build.properties Bug 303083 - Make cdt.core.native plugin consistent after rename 2014-05-27 12:04:41 -04:00
ChangeLog
ChangeLog-2003
plugin.properties Bug 303083 - Split out the CDT Spawner into a separate feature 2014-05-26 09:38:09 -04:00
plugin.xml Consider included .inc files as being exported by default. 2015-04-10 18:22:36 -07:00
pom.xml Incremented CDT feature version to 8.8.0 2015-06-10 09:33:49 -04:00