mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-07 17:15:25 +02:00
This commit is contained in:
parent
0d27575565
commit
f278a3e36e
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue