This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.codehaus.groovy.tools.groovydoc.GroovyDocTool | |
import org.codehaus.groovy.groovydoc.GroovyRootDoc | |
import static groovy.io.FileType.* | |
import org.codehaus.groovy.tools.groovydoc.* | |
includeTargets << grailsScript("Init") | |
/** | |
* Generate i18n messages.properties from the domain class comments. | |
* support version: grails-1.3.0 or above |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def kvmap = [ | |
key1: "value1", | |
key2: "value2", | |
key3: [ | |
"key3-1" : "value3-1", | |
"key3-2" : "value3-2", | |
], | |
] | |
LinkedHashMap.metaClass.toXml = { builder -> |