Skip to content

Instantly share code, notes, and snippets.

Created December 21, 2012 01:09
Show Gist options
  • Save anonymous/4350003 to your computer and use it in GitHub Desktop.
Save anonymous/4350003 to your computer and use it in GitHub Desktop.
warfile extract & target dir deployment
task deployToDevEnvironment(type:Copy, dependsOn:['clean','war']) {
def targetDir = file('your_deployment_target_path')
from zipTree(file(war.archivePath))
into targetDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment