我在config.groovy中有代码
def ENV_NAME = "/home/myFolder"
if(System.getenv("ENV_NAME")) {
println( "Including configuration file: " + System.getenv("ENV_NAME"));
grails.config.locations << "file:" + System.getenv("ENV_NAME")
} else {
println "No external configuration file defined."
}
当我运行时,结果是&#34;没有定义外部配置文件。&#34; 我想念的是什么?