Ahmed Laatabi
Ahmed Laatabi

Reputation: 927

Grails : change the current environment

is it possible to change the current working environment on runtime ?? what i want to do, is to load my application on a specific environment, and change it after somewhere in the code, is this possible ?

Upvotes: 0

Views: 541

Answers (1)

Lauri Piispanen
Lauri Piispanen

Reputation: 2097

To a reasonable extent no. This would likely confuse the framework greatly and is not recommended.

Upvotes: 1

Related Questions