在Intellij IDEA中构建的war文件位于何处? [英] Where is the war file built in Intellij IDEA, located?

查看:388
本文介绍了在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的目录。

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。

  1. Click on Edit Configurations.
  2. Click on Deployment and add your artifact.
  3. Apply these changes.
  4. You can see a Build Artifacts under Build.
  5. Click on Build Artifacts and it will create a war/jar to the respective folder.

如果我错了,请告诉我。

If I'm wrong somewhere let me know.

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

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