如何在没有命令行的intelliJ tomcat配置中使用-Dinstallation.host =

时间:2018-09-04 07:05:46

标签: intellij-idea

我正在使用mvn在Tomcat中构建和部署我的代码。我正在使用用于构建clean install -DskipTests -DskipJangarooApp -pl :studio-webapp -am -T 4C的命令,其中studio-webapp是我的模块名称。

在构建之后,我使用tomcat:run这样的命令:

tomcat7:run -Dinstallation.host=192.168.252.100

其中192.168.252.100是我的主机IP。此过程运行良好。 但是问题是当我更改IntelliJ中的任何Java类时,我再次运行buil命令然后运行。而且要花很多时间。因此,我想在IntelliJ中应用tomcat配置,但在此屏幕中找不到“ -Dinstallation.host”的任何选项。 enter image description here

0 个答案:

没有答案