// 引值的页面
import org.springframework.core.io.support.PropertiesLoaderUtils
import org.springframework.core.io.ClassPathResource
def beautiful = PropertiesLoaderUtils.loadProperties(new ClassPathResource("databasesource.properties"))
// 如何引用
comeOn= beautiful.getProperty("xxx")
// databasesource.properties中
xxx = "就是她了"
// Grails 自带读application.properties中字段语句
// 引值的页面 如何引用
def grailsVersion = grailsApplication.metadata['app.grails.version']
// application.properties中
app.grails.version=1.1.1