(Quick Reference)

run-dropwizard

Purpose

Starts the Jetty server.

Description

Dropwizard requires Jetty, and a newer version than the current Grails Jetty plugin supports, so this script is needed to start the server. Do not run the run-app script since it will install the Tomcat plugin, and a Grails/Dropwizard application cannot be run as a WAR file (or the run-app equivalent).

Usage:

grails [environment] run-dropwizard

The script doesn't accept any arguments since all configuration is done in Config.groovy and the specified YAML file. You can run the script in different environments.