unblock();
}
}
};
if (zip) {
mgr.deployModuleFromZip(main, conf, instances, createLoggingHandler("Successfully deployed module from zip", doneHandler));
} else if (module) {
mgr.deployModule(main, conf, instances, createLoggingHandler("Successfully deployed module", doneHandler));
} else {
boolean worker = args.map.get("-worker") != null;