Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Hirsl2005-05-11 20:07:41 +0000
committerVladimir Hirsl2005-05-11 20:07:41 +0000
commitfb26e4691f62afa275255119036721980746f45b (patch)
tree6eca1725397c7ca6b087111f10622cea8133373e /build/org.eclipse.cdt.make.ui
parent28b56b0e882b551386e467d3c5be6a4d7bb80b40 (diff)
downloadorg.eclipse.cdt-fb26e4691f62afa275255119036721980746f45b.tar.gz
org.eclipse.cdt-fb26e4691f62afa275255119036721980746f45b.tar.xz
org.eclipse.cdt-fb26e4691f62afa275255119036721980746f45b.zip
Fix for PR 91442: [Scanner Config] Saving per file DSC for Mozilla project chokes the system.
When there is new per file scanner info for number of files in a project, the project is refreshed only once (no recursive processing of change delta).
Diffstat (limited to 'build/org.eclipse.cdt.make.ui')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java4
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java3
2 files changed, 5 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java
index a8e647c4e05..9a01e12de51 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java
@@ -208,7 +208,9 @@ public class DiscoveredPathContainerPage extends WizardPage implements IPathEntr
try {
// update scanner configuration
- MakeCorePlugin.getDefault().getDiscoveryManager().updateDiscoveredInfo(info, null);
+ List resourceDelta = new ArrayList(1);
+ resourceDelta.add(fCProject.getProject());
+ MakeCorePlugin.getDefault().getDiscoveryManager().updateDiscoveredInfo(info, resourceDelta);
return true;
} catch (CoreException e) {
MakeCorePlugin.log(e);
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
index 96a8fa66a6e..4c7b17236ae 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
@@ -333,7 +333,8 @@ public class DiscoveryOptionsBlock extends AbstractDiscoveryOptionsBlock {
ScannerConfigScope profileScope = ScannerConfigProfileManager.getInstance().
getSCProfileConfiguration(profileId).getProfileScope();
List changedResources = new ArrayList();
- changedResources.add(project.getFullPath());
+// changedResources.add(project.getFullPath());
+ changedResources.add(project);
MakeCorePlugin.getDefault().getDiscoveryManager().changeDiscoveredContainer(
project, profileScope, changedResources);
}

Back to the top