protected void incrementalBuild(IResourceDelta delta, IProgressMonitor monitor) throws CoreException {
if (logger.isDebugEnabled()) {
logger.debug("Incremental online build kicked-off");
}
DeltaComponentSynchronizer componentDeltas = builderController.getDeltaSynchronizer();
delta.accept(componentDeltas);
if (componentDeltas.isSaveEmpty()) {
if (logger.isInfoEnabled()) {
logger.info("No delta resources found to build for project '" + getProject().getName() + "'");
}
return;
}
try {
builderController.build(componentDeltas.getSaveComponentList(), getProject(), monitor);
getProject().setSessionProperty(QualifiedNames.QN_SKIP_BUILDER, false);
} catch (Exception e) {
logger.error("Unable to build project", e);
}
}