return new FailedProgressObject(CommandType.DISTRIBUTE, "Could not parse deployment plan");
} catch (java.io.IOException e) {
return new FailedProgressObject(CommandType.DISTRIBUTE, "Could not read deployment plan");
}
for (Iterator iterator = builders.iterator(); iterator.hasNext();) {
ConfigurationBuilder configurationBuilder = (ConfigurationBuilder) iterator.next();
if (configurationBuilder.canConfigure(plan)) {
return server.distribute(targetList, configurationBuilder, moduleArchive, plan);
}
}
return new FailedProgressObject(CommandType.DISTRIBUTE, "No configuration builder found for module");
}