Created
December 21, 2012 01:09
-
-
Save anonymous/4350003 to your computer and use it in GitHub Desktop.
warfile extract & target dir deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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