I want to execute a Grails command (grails doc) in the BuildConfig.groovy to do some stuff before the war is packaged:

grails.war.resources = { stagingDir, args ->
    // call some ant tasks
}

How can I execute a Grails command in this closure?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top