How to extend per environment configuration in grails
Posted
by skurt
on Stack Overflow
See other posts from Stack Overflow
or by skurt
Published on 2010-05-19T18:31:25Z
Indexed on
2010/05/19
21:30 UTC
Read the original article
Hit count: 239
It seems that only grails.serverURL and grails.path are recognized as per environment configrautions. bla and foo are ignored and could not be used in application Anyone could solves this and provide a way to get bla and foo configured per environment?
environments {
production {
grails.serverURL = "http://alpha.foo.de"
grails.path = ""
bla = "text"
foo= "word"
}
test {
grails.serverURL = "http://test.foo.de"
grails.path = ""
bla = "othertext"
foo= "otherword"
}
}
© Stack Overflow or respective owner