Skip to content

Instantly share code, notes, and snippets.

@techieBrandon
Created May 15, 2013 20:57
Show Gist options
  • Save techieBrandon/5587313 to your computer and use it in GitHub Desktop.
Save techieBrandon/5587313 to your computer and use it in GitHub Desktop.
Spit out all resources and how they are being processed for Grails
def pull = ctx.getBean('grailsResourceProcessor')
def userDir = System.properties['user.home']
def outFile = new File("${userDir}/resource.out")
outFile.withPrintWriter { wr->
wr.print(pull.dumpResources())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment