// }
try {
initializeBuilder(notifier);
// TODO validate source and include directories
final ErlangProjectProperties properties = erlProject.getProperties();
final IPath out = properties.getOutputDir();
final IResource outr = project.findMember(out);
if (outr != null) {
try {
outr.setDerived(true, null);
outr.refreshLocal(IResource.DEPTH_ZERO, null);
} catch (final CoreException e) {
// ignore it
}
}
if (delta != null && delta.getAffectedChildren().length != 0) {
handleAppFile(project, project.getLocation().toPortableString() + "/"
+ out, properties.getSourceDirs());
}
handleErlangFiles(erlProject, project, kind, delta, notifier);
} catch (final OperationCanceledException e) {
if (BuilderHelper.isDebugging()) {
ErlLogger.debug("Build of " + project.getName() + " was canceled.");