Saturday, April 23, 2011

Running Maven Built Web Applications Directly From Intellij IDEA

Detailed here courtesy of Matt Flemming:

http://mattfleming.com/node/281

Also here (slightly different) on the JetBrains Wiki:

http://wiki.jetbrains.net/intellij/Creating_a_simple_Web_application_and_deploying_it_to_Tomcat

None of these match up exactly to Intellij IDEA X, but fairly close. On the 'Deployment' tab choose deploy artifact, then choose the exploded war version of your project/maven module.

On the 'Server' tab, where the start url is defined, if you eneter your context path, this becomes implicit when accessing via browser url - ie you need not enter it.

No comments:

Post a Comment