source: other-projects/trunk/realistic-books/packages/AntInstaller/web/manual1.6.2/manual/OptionalTasks/jarlib-display.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: 2.0 KB
Line 
1<html>
2
3<head>
4<meta http-equiv="Content-Language" content="en-us">
5<title>jarlib-display Task</title>
6<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
7</head>
8
9<body>
10
11<h2><a name="jarlib-display">jarlib-display</a></h2>
12<h3>Description</h3>
13<p>Display the "Optional Package" and "Package Specification" information
14 contained within the specified jars.</p>
15
16<p>Note that this task
17works with extensions as defined by the "Optional Package" specification.
18 For more information about optional packages, see the document
19<em>Optional Package Versioning</em> in the documentation bundle for your
20Java2 Standard Edition package, in file
21<code>guide/extensions/versioning.html</code> or online at
22<a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html">
23http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p>
24<p>See the Extension and ExtensionSet documentation for further details</p>
25
26<h3>Parameters</h3>
27<table border="1" cellpadding="2" cellspacing="0">
28 <tr>
29 <td valign="top"><b>Attribute</b></td>
30 <td valign="top"><b>Description</b></td>
31 <td align="center" valign="top"><b>Required</b></td>
32 </tr>
33 <tr>
34 <td valign="top">file</td>
35 <td valign="top">The file to display extension information about.</td>
36 <td valign="top" align="center">No, but one of file or fileset must be
37 present.</td>
38 </tr>
39</table>
40<h3>Parameters specified as nested elements</h3>
41
42<h4>fileset</h4>
43 <p><a href="../CoreTypes/fileset.html">FileSet</a>s contain list of files to
44 display Extension information about.</p>
45
46<h3>Examples</h3>
47<p><b>Display Extension info for a single file</b></p>
48<pre>
49 &lt;jarlib-display file=&quot;myfile.jar&quot;&gt;
50</pre>
51
52<p><b>Display Extension info for a fileset</b></p>
53<pre>
54 &lt;jarlib-display&gt;
55 &lt;fileset dir="lib"&gt;
56 &lt;include name="*.jar"/&gt;
57 &lt;/fileset&gt;
58 &lt;/jarlib-display&gt;
59</pre>
60
61<hr><p align="center">Copyright &copy; 2002,2004 The Apache Software Foundation.
62All rights Reserved.</p>
63
64</body>
65</html>
66
Note: See TracBrowser for help on using the repository browser.