~ubuntu-branches/ubuntu/jaunty/ant/jaunty-proposed

« back to all changes in this revision

Viewing changes to docs/manual/CoreTasks/unzip.html

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Gybas
  • Date: 2002-02-14 14:28:48 UTC
  • Revision ID: james.westby@ubuntu.com-20020214142848-2ww7ynmqkj31vlmn
Tags: upstream-1.4.1
ImportĀ upstreamĀ versionĀ 1.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
 
 
3
<head>
 
4
<meta http-equiv="Content-Language" content="en-us">
 
5
<title>Ant User Manual</title>
 
6
</head>
 
7
 
 
8
<body>
 
9
 
 
10
<h2><a name="unzip">Unjar/Unwar/Unzip</a></h2>
 
11
<h3>Description</h3>
 
12
<p>Unzips a zip-, war- or jarfile.</p>
 
13
<p>For JDK 1.1 &quot;last modified time&quot; field is set to current time instead of being 
 
14
carried from zipfile.</p>
 
15
<p>File permissions will not be restored on extracted files.</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">zipfile to expand.</td>
 
26
    <td align="center" valign="top">Yes</td>
 
27
  </tr>
 
28
  <tr>
 
29
    <td valign="top">dest</td>
 
30
    <td valign="top">directory where to store the expanded files.</td>
 
31
    <td align="center" valign="top">Yes</td>
 
32
  </tr>
 
33
  <tr>
 
34
    <td valign="top">overwrite</td>
 
35
    <td valign="top">Overwrite files, even if they are newer than the
 
36
      corresponding entries in the archive (true or false, default is
 
37
      true).</td>
 
38
    <td align="center" valign="top">No</td>
 
39
  </tr>
 
40
</table>
 
41
<h3>Examples</h3>
 
42
<blockquote>
 
43
  <p><code>&lt;unzip src=&quot;${tomcat_src}/tools-src.zip&quot; dest=&quot;${tools.home}&quot;
 
44
  /&gt;</code></p>
 
45
</blockquote>
 
46
<hr>
 
47
<p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights
 
48
Reserved.</p>
 
49
 
 
50
</body>
 
51
</html>
 
52