Intellij IDEA 中内置的 war 文件在哪里? [英] Where is the war file built in Intellij IDEA, located?

查看:80
本文介绍了Intellij IDEA 中内置的 war 文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 IntelliJ IDEA,并且每次运行时我都会构建和部署 Web 应用程序项目.所有这一切都在 IntelliJ IDEA 中神奇地发生.

I'm using IntelliJ IDEA and I'm building and deploying the web-application project every time I'm running it. All of this happens magically within IntelliJ IDEA.

但是,现在我应该在测试服务器的 Wildfly 上手动部署它,所以我需要一个工件文件(WAR 或 EAR)来放入运行 WildFly10 的测试服务器上的 standalone/deployments 目录.

However, now I'm supposed to manually deploy it on a test server's wildfly, so I need an artifact file (WAR or EAR) to drop in the standalone/deployments directory on the test server's running WildFly10.

我终生找不到 IntelliJ Idea 导出 WAR/EAR 工件的位置,因此我可以将其复制粘贴到测试服务器上的上述目录中.任何帮助表示赞赏.

I can't for the life of me find where IntelliJ Idea exports the WAR / EAR artifacts so I could copy paste it to the said directory on the test server. Any help is appreciated.

推荐答案

请按照以下步骤操作:

  1. 点击编辑配置.
  2. 点击部署并添加您的工件.
  3. 应用这些更改.
  4. 您可以在 Build 下看到 Build Artifacts.
  5. 点击 Build Artifacts,它会在相应的文件夹中创建一个 war/jar.

如果我错了,请告诉我.

If I'm wrong somewhere let me know.

这篇关于Intellij IDEA 中内置的 war 文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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