catch (IOException e)
{
String message = "Exception during deployment validation";
log.error(message, e);
DeploymentStatus status = new DeploymentStatusImpl(StateType.FAILED, CommandType.DISTRIBUTE, ActionType.EXECUTE, message);
return new ProgressObjectImpl(status, targetModuleIDs);
}
// start the deployment process
DeploymentStatus status = new DeploymentStatusImpl(StateType.RUNNING, CommandType.DISTRIBUTE, ActionType.EXECUTE, null);
ProgressObject progress = new ProgressObjectImpl(status, targetModuleIDs);
DeploymentWorker worker = new DeploymentWorker(progress);
worker.start();
return progress;