From 03ab241bc34ee2747c2c23f280b9c7ab8489eaa9 Mon Sep 17 00:00:00 2001 From: Mikhail Sennikovsky Date: Wed, 7 Mar 2007 13:08:13 +0000 Subject: [PATCH] Fix to [Bug 175550] [Project Model] assertion failed trying to specify a filter --- .../cdt/core/settings/model/util/PathEntryTranslator.java | 1 + .../internal/core/settings/model/CConfigurationDescription.java | 1 + 2 files changed, 2 insertions(+) diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/PathEntryTranslator.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/PathEntryTranslator.java index 7c888b7cd1c..111f3387357 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/PathEntryTranslator.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/PathEntryTranslator.java @@ -1300,6 +1300,7 @@ public class PathEntryTranslator { Set srcPathSet = new HashSet(); IPath projPath = fProject != null ? fProject.getFullPath() : null; PathSettingsContainer cr = PathSettingsContainer.createRootContainer(); + cr.setValue(Boolean.TRUE); // Map exclusionMap = new HashMap(); diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CConfigurationDescription.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CConfigurationDescription.java index 1ee2483f468..e5741518616 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CConfigurationDescription.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CConfigurationDescription.java @@ -472,6 +472,7 @@ public class CConfigurationDescription extends CDataProxyContainer implements IC IPath entryPath; IPath paths[]; PathSettingsContainer cr = PathSettingsContainer.createRootContainer(); + cr.setValue(Boolean.TRUE); Set srcPathSet = new HashSet(); IProject project = fIsPreference ? null : getProjectDescription().getProject(); IPath projPath = project != null ? project.getFullPath() : null;