سؤال

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