August 8, 2010

Grails: Load properties files

Grails: 1.3.3
While Grails like to have everything in .groovy files i still like to have properties files.

the following example is a of a "tipco jms" properties file usage

  • add the following to Config.groovy
    grails.config.locations= [ ""]
  • create in src\java
  • start using it in your spring xml
Grails in Action