Skip to content

Standalone

Alex Vigdor edited this page Mar 26, 2018 · 1 revision

groovity-standalone

Groovity standalone is an executable jar file with groovity and jetty embedded, offering an easy playground/sandbox environment that is independent of maven; launching the jar file spins up a jetty server on the default port 9880 (or you can pass a single argument to change the port).

Groovity-standalone depends on a specific set of directories:

groovity/

Contains groovity source files; these are automatically compiled for rapid development

lib/

Any java or groovity dependencies can be dropped in the lib folder

conf/

Any files in this folder ending in ".properties" will be loaded and used as configurators to populate conf values in scripts

static/

Any static web resources like JS, CSS, JPG, PNG can be placed in this folder to become available via the web server

target/

The output directory where compiled jar files are stored from the scripts found in groovity/

Clone this wiki locally