Skip to content

Instantly share code, notes, and snippets.

@ksky
Created October 11, 2010 04:50
Show Gist options
  • Save ksky/619985 to your computer and use it in GitHub Desktop.
Save ksky/619985 to your computer and use it in GitHub Desktop.
// g100pon #73 AntBuilder
// AntBuilderによるファイルダウンロードと解凍
def file = 'groovy-binary-1.7.5.zip'
def url = "http://dist.groovy.codehaus.org/distributions/$file"
new AntBuilder().with {
get(src:url, dest:'.')
unzip(src:"./$file", dest:'.')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment