final Set<File> targetJars = findJarsInTarget();
boolean force = forceBuild;
IResourceDelta delta;
IResourceDeltaVisitor deltaVisitor = new ProjectDeltaVisitor(getProject(), changedFiles);
// Get delta on local project
delta = getDelta(getProject());
if (delta != null) {
log(LOG_FULL, "%d files in local project (outside target) changed or removed: %s", changedFiles.size(), changedFiles);
delta.accept(deltaVisitor);
} else {
log(LOG_BASIC, "no info on local changes available");
}
// Get deltas on dependency projects
for (IProject depProject : dependsOn) {
delta = getDelta(depProject);
if (delta != null) {
IResourceDeltaVisitor depVisitor = new ProjectDeltaVisitor(depProject, changedFiles);
delta.accept(depVisitor);
log(LOG_FULL, "%d files in dependency project '%s' changed or removed: %s", changedFiles.size(), depProject.getName(), changedFiles);
} else {
log(LOG_BASIC, "no info available on changes from project '%s'", depProject.getName());
}