changes still bugs :(((
This commit is contained in:
@@ -8,9 +8,9 @@ import java.nio.file.StandardCopyOption;
|
|||||||
|
|
||||||
import io.vertx.core.AbstractVerticle;
|
import io.vertx.core.AbstractVerticle;
|
||||||
import io.vertx.core.DeploymentOptions;
|
import io.vertx.core.DeploymentOptions;
|
||||||
|
import io.vertx.core.Launcher;
|
||||||
import io.vertx.core.Promise;
|
import io.vertx.core.Promise;
|
||||||
import io.vertx.core.ThreadingModel;
|
import io.vertx.core.ThreadingModel;
|
||||||
import io.vertx.core.Vertx;
|
|
||||||
import net.miarma.contaminus.common.ConfigManager;
|
import net.miarma.contaminus.common.ConfigManager;
|
||||||
import net.miarma.contaminus.common.Constants;
|
import net.miarma.contaminus.common.Constants;
|
||||||
|
|
||||||
@@ -20,16 +20,7 @@ public class MainVerticle extends AbstractVerticle {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
System.setProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager");
|
System.setProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager");
|
||||||
init();
|
init();
|
||||||
|
Launcher.executeCommand("run", MainVerticle.class.getName());
|
||||||
Vertx vertx = Vertx.vertx();
|
|
||||||
vertx.deployVerticle(new MainVerticle(), res -> {
|
|
||||||
if (res.succeeded()) {
|
|
||||||
System.out.println("MainVerticle desplegado con éxito");
|
|
||||||
} else {
|
|
||||||
System.err.println("Fallo al desplegar MainVerticle: " + res.cause());
|
|
||||||
res.cause().printStackTrace();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void init() {
|
private static void init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user