如何在使用intellij时在vertx中启用自动重新部署 [英] How to enable auto redeploy in vertx when using intellij

查看:740
本文介绍了如何在使用intellij时在vertx中启用自动重新部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在intellij构思中运行时在vertx应用程序代码中启用自动重新部署?

How to enable auto redeploy in vertx application code when running in intellij idea?

Intellij用于热部署vertx应用程序的设置。

Intellij Settings for hot deployment of vertx application.

推荐答案

创建运行配置(应用程序),将Main类设置为io.vertx.core.Launcher。在Program参数中写:run your-verticle-fully-qualified-name --redeploy = ** / * .class --launcher-class = io.vertx.core.Launcher。要触发重新部署,您需要明确地创建项目或模块(构建菜单→生成项目)。

create a Run configuration (Application), set the Main class to io.vertx.core.Launcher. In the Program arguments write: run your-verticle-fully-qualified-name --redeploy=**/*.class --launcher-class=io.vertx.core.Launcher. To trigger the redeployment, you need to make the project or the module explicitly (Build menu → Make project).

这篇关于如何在使用intellij时在vertx中启用自动重新部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆