This file contains hidden or 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
private static createVirtualMappingXml(){ | |
if(Environment.current != Environment.DEVELOPMENT){ | |
def catalinaHome = System.getenv('CATALINA_HOME') | |
if(!catalinaHome){ | |
catalinaHome = System.getProperty("catalina.base") | |
} | |
if(!catalinaHome){ | |
throw new RuntimeException("找不到环境变量CATALINA_HOME") | |
} |
This file contains hidden or 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
chrome://flags/#enhanced-bookmarks-experiment |
This file contains hidden or 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
// setting compile encoding: | |
// compileJava.options.encoding = 'UTF-8' | |
// compileGroovy.options.encoding = 'UTF-8' | |
// compileTestGroovy.options.encoding = 'UTF-8' | |
// compileTestJava.options.encoding = 'UTF-8' | |
tasks.withType(AbstractCompile) { | |
options.encoding = 'UTF-8' | |
} |
This file contains hidden or 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
grails url-mappings-report | |
// test com.xx.PushServiceSpec | |
test-app unit: **.Push* | |
// specify service init non-lazy, just add a static lazyInit property with false | |
static lazyInit = false | |
import org.grails.databinding.converters.ValueConverter | |
import test.Address |
NewerOlder