Versions Compared

Key

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

...

This will execute the autogenerated main(String[] args) method in the bytecode which instantiates the Foo class, which extends the 

linkScriptScript1

Wiki Markup
{link:Script|http://groovy.codehaus.org/apidocs/groovy/lang/Script.html}{link}
 class and then call its run() method. You may also use this class directly in Java code, passing in variables to the script.

...