Where is the war file built in Intellij IDEA, located?

白昼怎懂夜的黑 提交于 2019-12-05 22:20:13

问题


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.

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.

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:


Please follow the steps :

  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.



来源:https://stackoverflow.com/questions/38562829/where-is-the-war-file-built-in-intellij-idea-located

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!