List<IJavaProject> dependentProjects = BuildUtils
.getDependentProjects(javaProject, progress);
progress.setRange(0, dependentProjects.size());
int index = 0;
for (IJavaProject project : dependentProjects) {
progress.increment(1, "Building "
+ project.getProject().getName());
BuildUtils.buildJavaProjectInteractively0(project,
progress, buildKind, problems);
progress.setRange(0, dependentProjects.size());
for (int i = 0; i < index; i++) {