String includes = args.map.get("-includes");
if (worker) {
mgr.deployWorkerVerticle(false, main, conf, urls, instances, includes,
createLoggingHandler("Successfully deployed worker verticle", doneHandler));
} else {
mgr.deployVerticle(main, conf, urls, instances, includes, createLoggingHandler("Successfully deployed verticle", doneHandler));
}
}
addShutdownHook(mgr);
block();