开发者

Configure different versions of the same Grails application

By default Grails uses the following locations to look for config files:

"classpath:${appName}-config.properties",
"classpath:${appName}-config.groovy",
"file:${userHome}/.grails/${appName}-config.properties",
"file:${userHome}/.grails/${appName}-config.groovy"

But this leads to conflicts if two (or more) versions of the same application (with the same app name) are runing in the same servlet container. I need this for testing.

How can I use different c开发者_如何学JAVAonfig files for two Grails applications with the same name in the same servlet container?


Maybe by Externalize Your Grails Configuration. Here is a good link : externalize grails configuration

I hope this help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜