subMonitor.subTask("Compiling " + protoFile.getName() + " with protoc");
generateSingleProto(commandBuilder.buildCommand(protoFile), protoFile);
}
subMonitor.worked(1);
}
if (compilerPreferences.refreshResources()) {
List<IFolder> outputDirectories = commandBuilder.outputDirectories();
boolean refreshProject = compilerPreferences.refreshProject();
refresh(project, outputDirectories, refreshProject, subMonitor.newChild(outputDirectories.size() + 1));
}
}