Skip to content
Browse files

Documentation for myPluginDir.

  • Loading branch information...
1 parent 44fb466 commit 059db6b49c77b763c30494250b561e51c4ebc2b4 @rlovtangen committed Apr 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/en/guide/plugins/hookingIntoBuildEvents.gdoc
2 src/en/guide/plugins/hookingIntoBuildEvents.gdoc
@@ -15,6 +15,8 @@ ant.copy(file: "${pluginBasedir}/src/samples/SamplePluginConfig.groovy",
todir: "${basedir}/grails-app/conf")
+The @pluginBasedir@ variable is not available in custom scripts, but you can use @fooPluginDir@, where @foo@ is the name of your plugin.
h4. Scripting events
It is also possible to hook into command line scripting events. These are events triggered during execution of Grails target and plugin scripts.

0 comments on commit 059db6b

Please sign in to comment.
Something went wrong with that request. Please try again.