Tuesday, August 16, 2011

How to remove jar from grails

How do you prevent a jar from being packaged in a war under grails prod war?

like so...


grails.war.resources = { stagingDir, args ->
delete file: "${stagingDir}/WEB-INF/lib/YOUR-FILE-HERE.jar"
}

No comments:

Post a Comment