Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Basics

The Groovy Console:


  1. Groovy Console is launched with "groovyConsole" or "groovyConsole.bat", both located in "$GROOVY_HOME/bin"
  2. The Console has an input area and an output area.
  3. You type a Groovy script in the input area.
  4. When you select "Run" from the "Actions" menu, the console compiles the script and runs it.
  5. Anything that would normally be printed on System.out is printed in the output area.
  6. If the script returns a non-null result, that result is printed.

...