从Intellij在远程主机上部署/运行jvm应用程序 [英] Deploying/Running jvm application on a remote-host from Intellij

查看:100
本文介绍了从Intellij在远程主机上部署/运行jvm应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从intellij部署/运行(用于测试目的)远程服务器上的独立Java应用程序?我不是想连接到已经运行的JVM,而是从intellij在远程主机上启动一个新的JVM,就像它在我的本地机器上运行一样?

Would it be possible to deploy/run (for testing purposes) a standalone Java application on a remote server from intellij? I'm not trying to connect to an already running JVM, but to start a new JVM on the remote host from intellij just like it was running on my local machine?

推荐答案

目前没有内置的支持。您可以将应用程序部署到在远程计算机上运行的应用程序服务器,但如果您有独立应用程序,则没有内置功能来部署它。

There is no built-in support for it at the moment. You can deploy an application to an application server running on a remote machine, but if you have a standalone application, there is no built-in feature to deploy it.

也就是说,您可以编写Ant脚本或shell脚本来部署您的应用程序,并使用Ant集成或外部工具功能从中运行它IntelliJ IDEA。

That said, you can write an Ant script or a shell script to deploy your app, and use either the Ant integration or the external tool feature to run it from with in IntelliJ IDEA.

这篇关于从Intellij在远程主机上部署/运行jvm应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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