| 1 |
<!DOCTYPE html> |
| 2 |
<!-- |
| 3 |
Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 |
contributor license agreements. See the NOTICE file distributed with |
| 5 |
this work for additional information regarding copyright ownership. |
| 6 |
The ASF licenses this file to You under the Apache License, Version 2.0 |
| 7 |
(the "License"); you may not use this file except in compliance with |
| 8 |
the License. You may obtain a copy of the License at |
| 9 |
|
| 10 |
https://www.apache.org/licenses/LICENSE-2.0 |
| 11 |
|
| 12 |
Unless required by applicable law or agreed to in writing, software |
| 13 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 14 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 |
See the License for the specific language governing permissions and |
| 16 |
limitations under the License. |
| 17 |
--> |
| 18 |
<html lang="en"> |
| 19 |
|
| 20 |
<head> |
| 21 |
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> |
| 22 |
<title>jarlib-display Task</title> |
| 23 |
</head> |
| 24 |
|
| 25 |
<body> |
| 26 |
|
| 27 |
<h2 id="jarlib-display">jarlib-display</h2> |
| 28 |
<h3>Description</h3> |
| 29 |
<p>Display the "Optional Package" and "Package Specification" information contained within the |
| 30 |
specified jars.</p> |
| 31 |
|
| 32 |
<p>Note that this task works with extensions as defined by the "Optional Package" specification. |
| 33 |
For more information about optional packages, see the document <em>Optional Package Versioning</em> |
| 34 |
in the documentation bundle for your Java Standard Edition package, in |
| 35 |
file <samp>guide/extensions/versioning.html</samp> or the |
| 36 |
online <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/extensions/versioning.html" |
| 37 |
target="_top">Extension and ExtensionSet documentation</a> for further details.</p> |
| 38 |
|
| 39 |
<h3>Parameters</h3> |
| 40 |
<table class="attr"> |
| 41 |
<tr> |
| 42 |
<th scope="col">Attribute</th> |
| 43 |
<th scope="col">Description</th> |
| 44 |
<th scope="col">Required</th> |
| 45 |
</tr> |
| 46 |
<tr> |
| 47 |
<td>file</td> |
| 48 |
<td>The file to display extension information about</td> |
| 49 |
<td>Yes, unless a nested <code><fileset></code> is specified</td> |
| 50 |
</tr> |
| 51 |
</table> |
| 52 |
<h3>Parameters specified as nested elements</h3> |
| 53 |
|
| 54 |
<h4>fileset</h4> |
| 55 |
<p><a href="../Types/fileset.html">FileSet</a>s contain list of files to display Extension |
| 56 |
information about.</p> |
| 57 |
|
| 58 |
<h3>Examples</h3> |
| 59 |
<p>Display Extension info for a single file</p> |
| 60 |
<pre><jarlib-display file="myfile.jar"></pre> |
| 61 |
|
| 62 |
<p>Display Extension info for a fileset</p> |
| 63 |
<pre> |
| 64 |
<jarlib-display> |
| 65 |
<fileset dir="lib"> |
| 66 |
<include name="*.jar"/> |
| 67 |
</fileset> |
| 68 |
</jarlib-display></pre> |
| 69 |
|
| 70 |
</body> |
| 71 |
</html> |