mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 575903: Call correct clean method
The old clean method was removed from use in Bug 571134 but this call to it was missed. Change-Id: I01310a3e3c1f45534e55d146f9480ac323446dd4
This commit is contained in:
parent
c34816028c
commit
47a94fe3d9
2 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.core; singleton:=true
|
||||
Bundle-Version: 9.3.100.qualifier
|
||||
Bundle-Version: 9.3.200.qualifier
|
||||
Bundle-Activator: org.eclipse.cdt.managedbuilder.core.ManagedBuilderCorePlugin
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
|
|
|
@ -969,7 +969,7 @@ public class CommonBuilder extends ACBuilder implements IIncrementalProjectBuild
|
|||
//in case an error occured, make it behave in the old stile:
|
||||
if (cfg.needsRebuild()) {
|
||||
//make a full clean if an info needs a rebuild
|
||||
clean(new SubProgressMonitor(monitor, IProgressMonitor.UNKNOWN));
|
||||
clean((Map<String, String>) null, new SubProgressMonitor(monitor, IProgressMonitor.UNKNOWN));
|
||||
makefileRegenerationNeeded = true;
|
||||
} else if (delta != null && !makefileRegenerationNeeded) {
|
||||
// Create a delta visitor to detect the build type
|
||||
|
@ -977,7 +977,8 @@ public class CommonBuilder extends ACBuilder implements IIncrementalProjectBuild
|
|||
bInfo.getBuildInfo().getManagedProject().getConfigurations());
|
||||
delta.accept(visitor);
|
||||
if (visitor.shouldBuildFull()) {
|
||||
clean(new SubProgressMonitor(monitor, IProgressMonitor.UNKNOWN));
|
||||
clean((Map<String, String>) null,
|
||||
new SubProgressMonitor(monitor, IProgressMonitor.UNKNOWN));
|
||||
makefileRegenerationNeeded = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue