You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

jarlib-display.html 2.7 KiB

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