ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@mad.scientist.com>
Subject Re: TArball
Date Tue, 08 Aug 2000 14:13:23 GMT
At 10:40  8/8/00 -0400, you wrote:
>
>
>can ant build a tarball??????
>
>thanks();
>rick

Straight from the documentation:

---
Examples
  <tar tarfile="${dist}/manual.tar" basedir="htdocs/manual" />
  <gzip zipfile="${dist}/manual.tar.gz" src="${dist}/manual.tar" />
tars all files in the htdocs/manual directory in a file called manual.tar
in the ${dist} directory, then applies the gzip task to compress it.

  <tar tarfile="${dist}/manual.tar"
       basedir="htdocs/manual"
       excludes="mydocs/**, **/todo.html"
  />
tars all files in the htdocs/manual directory in a file called manual.tar
in the ${dist} directory. Files in the directory mydocs, or files with the
name todo.html are excluded.

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message