in src/main/java/org/apache/openejb/cts/deploy/DeployTestUtil.java [923:939]
public OperationStatus distributeModuleFiles(Target[] targets,
File moduleArchive, File deploymentPlan) throws Exception {
ProgressObject progress = null;
try {
progress = getDeploymentManager().distribute(targets, moduleArchive,
deploymentPlan);
} catch (Exception e) {
e.printStackTrace();
if (progress.isCancelSupported()) {
progress.cancel();
}
throw e;
}
OperationStatus result = commandStatus(targets, progress);
delay();
return result;
}