What\'s the best practice of making a variable that would be accessible by almost all classes in a Grails project? Is there a config file that I can use for storage of that data
With Grails 2.2
//In Config.groovy myVar = '/My/Root/Images/Folder' //In your Services/Controllers/etc.. import grails.util.Holders def grailsApplication = Holders.getGrailsApplication() //access you variable def myVar = grailsApplication.config.myVar;