This post originated from an RSS feed registered with Java Buzz
by Andrej Koelewijn.
Original Post: Targetting different environments with Grails
Feed Title: Andrej Koelewijn
Feed URL: http://feeds.feedburner.com/AndrejKoelewijn
Feed Description: On Oracle, Java and OpenSource
Mainly as a reminder to myself, here’s how you target different environments with grails.
Grails knows about three environments out of the box: development, test, production. When you create a war file you can specify the environment after the grails command:
grails test war
Sometimes, (actually quite often), you have more environments. For example a user acceptance testing [...]