Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kucera2010-03-02 11:48:37 -0500
committerMike Kucera2010-03-02 11:48:37 -0500
commitfd235d5e325e31904b83b2c6c96a2f7c1a7764d5 (patch)
tree2d16e7c683bacb6a897aa9e194f485e5ed4ac770
parentc94faf2dc01f23ef64273f64d67d66a03b6080bb (diff)
downloadorg.eclipse.cdt-fd235d5e325e31904b83b2c6c96a2f7c1a7764d5.tar.gz
org.eclipse.cdt-fd235d5e325e31904b83b2c6c96a2f7c1a7764d5.tar.xz
org.eclipse.cdt-fd235d5e325e31904b83b2c6c96a2f7c1a7764d5.zip
Bug 303560 - Includes node does not show in Project Explorer for remote XLC projectv201003041459
-rw-r--r--xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/scannerconfig/PerFileXLCScannerInfoCollector.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/scannerconfig/PerFileXLCScannerInfoCollector.java b/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/scannerconfig/PerFileXLCScannerInfoCollector.java
index 01be0e7393..b9635c5c9c 100644
--- a/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/scannerconfig/PerFileXLCScannerInfoCollector.java
+++ b/xlc/org.eclipse.cdt.make.xlc.core/src/org/eclipse/cdt/make/xlc/core/scannerconfig/PerFileXLCScannerInfoCollector.java
@@ -122,9 +122,7 @@ public class PerFileXLCScannerInfoCollector implements IScannerInfoCollector3, I
ICProjectDescriptionManager descriptionManager = CoreModel.getDefault().getProjectDescriptionManager();
ICProjectDescription cProjectDescription = descriptionManager.getProjectDescription(project, true /* writable */);
ICConfigurationDescription configDes = cProjectDescription.getActiveConfiguration();
-
- boolean changedDes = false;
-
+
IToolChain toolchain = config.getToolChain();
for(ITool tool : toolchain.getTools()) {
for(IInputType inputType : tool.getInputTypes()) {
@@ -155,8 +153,8 @@ public class PerFileXLCScannerInfoCollector implements IScannerInfoCollector3, I
}
// update all the scanner config entries on the setting
- changedDes |= updateIncludeSettings(langSetting);
- changedDes |= updateMacroSettings(langSetting);
+ updateIncludeSettings(langSetting);
+ updateMacroSettings(langSetting);
}
}
@@ -164,9 +162,7 @@ public class PerFileXLCScannerInfoCollector implements IScannerInfoCollector3, I
}
}
- if(changedDes) {
- descriptionManager.setProjectDescription(project, cProjectDescription, true /* force */, monitor);
- }
+ descriptionManager.setProjectDescription(project, cProjectDescription, true /* force */, monitor);
} catch (CoreException e) {
Activator.log(e);

Back to the top