mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +02:00
fixed progress monitor usage
This commit is contained in:
parent
5164abb61c
commit
1fb1777377
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ public class MakeTarget extends PlatformObject implements IMakeTarget {
|
|||
monitor.beginTask("", commands.length); //$NON-NLS-1$
|
||||
for (int i = 0; i < commands.length; i++) {
|
||||
if (commands[i].getBuilderName().equals(builderID)) {
|
||||
project.build(IncrementalProjectBuilder.FULL_BUILD, builderID, infoMap, monitor);
|
||||
project.build(IncrementalProjectBuilder.FULL_BUILD, builderID, infoMap, new SubProgressMonitor(monitor, 1));
|
||||
} else {
|
||||
project.build(IncrementalProjectBuilder.FULL_BUILD, commands[i].getBuilderName(),
|
||||
commands[i].getArguments(), new SubProgressMonitor(monitor, 1));
|
||||
|
|
Loading…
Add table
Reference in a new issue