DeploymentManager manager = getDeploymentManager();
Target[] targets = manager.getTargets();
File moduleFile = (getModule() == null)? null: getFile(getModule());
File planFile = (getPlan() == null)? null: getFile((getPlan()));
ProgressObject progress = manager.distribute(targets, moduleFile, planFile);
DeploymentClient.waitFor(progress);
}
private File getFile(String location) throws MalformedURLException {
try {