1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-07 00:55:24 +02:00

Turn off updating of project references when P&S references change.

Change-Id: Ifd3234d62ec503820e0817adef5635f692a4d728
This commit is contained in:
Doug Schaefer 2012-09-05 11:20:54 -04:00
parent 69140987c1
commit a5066c1778

View file

@ -648,12 +648,12 @@ public class CProjectDescriptionManager implements ICProjectDescriptionManager {
CCorePlugin.log(e); CCorePlugin.log(e);
} }
try { // try {
if(checkProjectRefChange(eDes, newDes, newCfg, oldCfg, monitor)) // if(checkProjectRefChange(eDes, newDes, newCfg, oldCfg, monitor))
modified = true; // modified = true;
} catch (CoreException e) { // } catch (CoreException e) {
CCorePlugin.log(e); // CCorePlugin.log(e);
} // }
return modified; return modified;
} }
@ -682,6 +682,7 @@ public class CProjectDescriptionManager implements ICProjectDescriptionManager {
/** /**
* Fix up platform references having changed CDT configuration references * Fix up platform references having changed CDT configuration references
* TODO remove me
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
private boolean checkProjectRefChange(IProjectDescription des, ICProjectDescription newCDesc, ICConfigurationDescription newCfg, ICConfigurationDescription oldCfg, IProgressMonitor monitor) throws CoreException{ private boolean checkProjectRefChange(IProjectDescription des, ICProjectDescription newCDesc, ICConfigurationDescription newCfg, ICConfigurationDescription oldCfg, IProgressMonitor monitor) throws CoreException{