标签: grails ant gant
我希望在战争打包之前在BuildConfig.groovy中执行Grails命令(grails doc)来做一些事情:
BuildConfig.groovy
grails.war.resources = { stagingDir, args -> // call some ant tasks }
如何在此闭包中执行Grails命令?