Skip to content

Instantly share code, notes, and snippets.

@musketyr
Created May 19, 2011 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save musketyr/980549 to your computer and use it in GitHub Desktop.
Save musketyr/980549 to your computer and use it in GitHub Desktop.
groovlets contributions
(sourceFolderOfCurrentType('war/WEB-INF/groovy') & enclosingScript()).accept {
provider = 'Gaelyk Groovlet'
property name: 'datastore',
type: 'com.google.appengine.api.datastore.DatastoreService'
// many more here
method name: 'forward',
type: 'void',
params: [path: 'java.lang.String'],
doc: "forwards to given url, groovlet or template"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment