Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

You should now have Groovy installed properly. You can test this by typing the following in a command shell:

Code Block

groovysh

Which should create an interactive groovy shell where you can type Groovy statements. Or to run the Swing interactive console type:

Code Block

groovyConsole

To run a specific Groovy script type:

Code Block

groovy SomeScript.groovy

Alternative Installation on Mac OS X

Set up MacPorts

Open Terminal

Code Block

sudo port install groovy

OSX, Linux or Cygwin

For a quick and effortless start on Mac OSX, Linux or Cygwin, you can use GVM (the Groovy enVironment Manager) to download and configure any Groovy version of your choice. Basic instructions can be found here.