private void invokeOldBuilder(int kind, Map args, IProgressMonitor monitor, IResourceDelta delta) throws Exception {
for (int i = 0; i < builderWrappers.length; i++) {
if (builderWrappers[i].getBuilder().isEnabled()) {
boolean isOldBuilder = builderWrappers[i].isOldBuilder();
if (isOldBuilder) {
AbstractOldBuilder abstractOldBuilder = (AbstractOldBuilder) builderWrappers[i].getBuilder();
abstractOldBuilder.setProject(this.getProject());
abstractOldBuilder.invokeOldBuilder(kind, args, monitor, delta);
}
}
}
}