Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Looking for step-by-step guide to build and deploy Grails war to Tomcat

$
0
0

I've spent a bit of time, probably more than should be necessary, looking for a step-by-step guide to build and deploy a Grails war to a local instance of Tomcat using IntelliJ IDEA 13.

I've seen links talking about creating a run configuration for Tomcat, creating an artifact for my Grails app, plus other bits of pieces of information but nothing that puts it all together.  And I've seen nothing in the IntelliJ IDEA online documentation that describes how to do this.

 

Ideally, what I want is a single run / debug configuration that does this:

  1. Builds the war using grails war (optionally allows me to set the desired environment: dev test prod)
  2. Deploys the war to my local Tomcat instance
  3. Starts Tomcat (optionally in debug mode so that I can remote attach and debug my Grails app)
  4. Starts my browser of choice and points it at a URL inside my Grails app that I can configure

 

Can someone point me to a link that lays this out relatively simply?


Viewing all articles
Browse latest Browse all 5661

Trending Articles