Why is it so hard to make a WAR file?

It's version 11 of IDEA already. Can we please have a simple way to make a WAR file? I've been searching and searching and there seems to be no easy way to get a deployable WAR file that has the web.xml, all the libs, etc. built by IDEA without a lot of manual effort and the use of hard coded paths. All the information is in the project why do I have to do so much manual work? Currently, I have to:

  • Create a facet
  • Create an Artifact
  • Manaully create the libs directory in the Artifact
  • Manually tell the Artifact to copy my runtime libraries to the libs directory

Why so many steps? Further, this is error prone.

JetBrains - please help.


Please sign in to leave a comment.