Line | |
---|
1 | <html>
|
---|
2 |
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Language" content="en-us">
|
---|
5 | <title>GZip/BZip2 Tasks</title>
|
---|
6 | <link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
|
---|
7 | </head>
|
---|
8 |
|
---|
9 | <body>
|
---|
10 |
|
---|
11 | <a name="pack"></a><h2>GZip/BZip2</h2>
|
---|
12 | <h3>Description</h3>
|
---|
13 | <p>Packs a file using the GZip or BZip2 algorithm.
|
---|
14 | The output file is only generated if it doesn't exist or the source
|
---|
15 | file is newer.</p>
|
---|
16 | <h3>Parameters</h3>
|
---|
17 | <table border="1" cellpadding="2" cellspacing="0">
|
---|
18 | <tr>
|
---|
19 | <td valign="top"><b>Attribute</b></td>
|
---|
20 | <td valign="top"><b>Description</b></td>
|
---|
21 | <td align="center" valign="top"><b>Required</b></td>
|
---|
22 | </tr>
|
---|
23 | <tr>
|
---|
24 | <td valign="top">src</td>
|
---|
25 | <td valign="top">the file to gzip/bzip.</td>
|
---|
26 | <td align="center" valign="top">Yes</td>
|
---|
27 | </tr>
|
---|
28 | <tr>
|
---|
29 | <td valign="top">destfile</td>
|
---|
30 | <td valign="top">the destination file to create.</td>
|
---|
31 | <td align="center" valign="top" rowspan="2">Exactly one of the two.</td>
|
---|
32 | </tr>
|
---|
33 | <tr>
|
---|
34 | <td valign="top">zipfile</td>
|
---|
35 | <td valign="top">the <i>deprecated</i> old name of destfile.</td>
|
---|
36 | </tr>
|
---|
37 | </table>
|
---|
38 | <h3>Examples</h3>
|
---|
39 | <blockquote>
|
---|
40 | <p><code><gzip src="test.tar" destfile="test.tar.gz"/></code></p>
|
---|
41 | </blockquote>
|
---|
42 | <blockquote>
|
---|
43 | <p><code><bzip2 src="test.tar" destfile="test.tar.bz2"/></code></p>
|
---|
44 | </blockquote>
|
---|
45 | <hr>
|
---|
46 | <p align="center">Copyright © 2000-2004 The Apache Software Foundation. All rights
|
---|
47 | Reserved.</p>
|
---|
48 |
|
---|
49 | </body>
|
---|
50 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.