War Exec Plugin

  • Tags: deployment
  • Latest: 1.0.3
  • Last Updated: 07 May 2013
  • Grails version: 2.0 > *
1 vote
Dependency:
runtime ":war-exec:1.0.3"

 Documentation  Source  Issues

Summary

Makes the war files generated by Grails executable (java -jar myapp.war) by embedding Jetty. Jetty can be configured using properties in Config.groovy.

Installation

Full documentation is here: https://github.com/davidtinker/war-exec

grails install-plugin war-exec

Add a dependency to BuildConfig.groovy:

plugins {
    runtime ':war-exec:1.0.1'
    …
}

Now you can do:

$ grails dev war
$ java -jar target/com.brandseye.myapp.war

Description

Full documentation is here: https://github.com/davidtinker/war-exec

Makes Grails war files executable (java -jar myapp.war) by embedding Jetty. Jetty can be configured using properties in Config.groovy.