Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2003-12-03 15:32:22 -0500
committerDavid Inglis2003-12-03 15:32:22 -0500
commitf278a3e36e9d69aa588a453ae94a357c73921ebc (patch)
tree73c6eb923811e1d78ae12fa112e7c966259a1a35
parent0d2757556534ebb02c9c880057e973278af82479 (diff)
downloadorg.eclipse.cdt-f278a3e36e9d69aa588a453ae94a357c73921ebc.tar.gz
org.eclipse.cdt-f278a3e36e9d69aa588a453ae94a357c73921ebc.tar.xz
org.eclipse.cdt-f278a3e36e9d69aa588a453ae94a357c73921ebc.zip
fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=48027
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/UpdateMakeProjectAction.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/UpdateMakeProjectAction.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/UpdateMakeProjectAction.java
index 50a8e078430..628861584e3 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/UpdateMakeProjectAction.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/UpdateMakeProjectAction.java
@@ -194,10 +194,11 @@ public class UpdateMakeProjectAction implements IWorkbenchWindowActionDelegate {
}
protected static void doProjectUpdate(IProgressMonitor monitor, IProject[] project) throws CoreException {
- monitor.beginTask("Updating make Projects...", project.length * 3);
+ monitor.beginTask("Updating make Projects...", project.length * 4);
try {
for (int i = 0; i < project.length; i++) {
// remove old builder
+ project[i].refreshLocal(IResource.DEPTH_ONE, new SubProgressMonitor(monitor, 1));
MakeProjectNature.removeFromBuildSpec(
project[i],
MakeCorePlugin.OLD_BUILDER_ID,

Back to the top