可以使用带有intelliJ的Vagrant吗? [英] Is it possible to use Vagrant with intelliJ?

查看:161
本文介绍了可以使用带有intelliJ的Vagrant吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我正在使用Java并使用IntelliJ来执行构建和部署等操作。

Let's say I'm working with Java and using IntelliJ to do things like build and deploy and other things like that.

之前我没有使用过Vagrant,但是在运行Vagrant实例时是否可以继续使用IntelliJ进行构建和部署?

I haven't used Vagrant before, but is it possible to keep using IntelliJ for the building and deployment while running a Vagrant instance?

推荐答案

是的,你可以使用你的IDE与Vagrant。我花了很多时间思考如何做到这一点并回答类似的问题,希望这能给你一些背景信息。

Yes, you can use your IDE with Vagrant. I just spent a lot of time thinking about how to do this and answering a similar question, hopefully this gives you some context.

Java项目的流浪者:你应该在VM或主机上?

将VM置于专用网络上,您可以像运行任何远程服务器一样将WAR部署到正在运行的Web服务器。或者,您可以从VM内部将webapps文件夹符号链接到主机上的编译目标,从而无需构建WAR并显式重新部署。

With the VM on a private network, you can deploy a WAR to a running web server as you would any remote server. Alternatively, from inside the VM you can symlink the webapps folder to the compile target on your host, eliminating the need to build a WAR and redeploy explicitly.

这篇关于可以使用带有intelliJ的Vagrant吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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