source: other-projects/trunk/realistic-books/packages/AntInstaller/web/manual1.6.2/manual/CoreTasks/pack.html@ 19253

Last change on this file since 19253 was 19253, checked in by davidb, 15 years ago

Establishing a source code repository for Veronica's Realistic Book's software

File size: 1.4 KB
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.
14The output file is only generated if it doesn't exist or the source
15file 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>&lt;gzip src=&quot;test.tar&quot; destfile=&quot;test.tar.gz&quot;/&gt;</code></p>
41</blockquote>
42<blockquote>
43 <p><code>&lt;bzip2 src=&quot;test.tar&quot; destfile=&quot;test.tar.bz2&quot;/&gt;</code></p>
44</blockquote>
45<hr>
46<p align="center">Copyright &copy; 2000-2004 The Apache Software Foundation. All rights
47Reserved.</p>
48
49</body>
50</html>
Note: See TracBrowser for help on using the repository browser.