source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/OptionalTypes/extension.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 3.3 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Language" content="en-us">
4<title>Extension Type</title>
5<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
6</head>
7
8<body>
9<h2><a name="fileset">Extension</a></h2>
10<p>Utility type that represents either an available "Optional Package"
11 (formerly known as "Standard Extension") as described in the manifest
12 of a JAR file, or the requirement for such an optional package.</p>
13<p>Note that this type
14works with extensions as defined by the "Optional Package" specification.
15 For more information about optional packages, see the document
16<em>Optional Package Versioning</em> in the documentation bundle for your
17Java2 Standard Edition package, in file
18<code>guide/extensions/versioning.html</code> or online at
19<a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html">
20http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p>
21
22<h3>Attributes</h3>
23<p>The extension type supports the following attributes</a>:
24</p>
25
26<table border="1" cellpadding="2" cellspacing="0">
27 <tr>
28 <td valign="top"><b>Attribute</b></td>
29 <td valign="top"><b>Description</b></td>
30 <td align="center" valign="top"><b>Required</b></td>
31 </tr>
32 <tr>
33 <td valign="top">extensionName</td>
34 <td valign="top">The name of extension</td>
35 <td valign="top" align="center">yes</td>
36 </tr>
37 <tr>
38 <td valign="top">specificationVersion</td>
39 <td valign="top">The version of extension specification (Must be in
40 dewey decimal aka dotted decimal notation. 3.2.4)</td>
41 <td valign="top" align="center">no</td>
42 </tr>
43 <tr>
44 <td valign="top">specificationVendor</td>
45 <td valign="top">The specification vendor</td>
46 <td valign="top" align="center">no</td>
47 </tr>
48 <tr>
49 <td valign="top">implementationVersion</td>
50 <td valign="top">The version of extension implementation (Must be in
51 dewey decimal aka dotted decimal notation. 3.2.4)</td>
52 <td valign="top" align="center">no</td>
53 </tr>
54 <tr>
55 <td valign="top">implementationVendor</td>
56 <td valign="top">The implementation vendor</td>
57 <td valign="top" align="center">no</td>
58 </tr>
59 <tr>
60 <td valign="top">implementationVendorId</td>
61 <td valign="top">The implementation vendor ID</td>
62 <td valign="top" align="center">no</td>
63 </tr>
64 <tr>
65 <td valign="top">implementationURL</td>
66 <td valign="top">The url from which to retrieve extension.</td>
67 <td valign="top" align="center">no</td>
68 </tr>
69</table>
70
71<h4>Examples</h4>
72<blockquote><pre>
73&lt;extension id=&quot;e1&quot;
74 extensionName=&quot;MyExtensions&quot;
75 specificationVersion=&quot;1.0&quot;
76 specificationVendor=&quot;Peter Donald&quot;
77 implementationVendorID=&quot;vv&quot;
78 implementationVendor=&quot;Apache&quot;
79 implementationVersion=&quot;2.0&quot;
80 implementationURL=&quot;http://somewhere.com/myExt.jar&quot;/&gt;
81</pre></blockquote>
82
83<p>Fully specific extension object.</p>
84
85<blockquote><pre>
86&lt;extension id=&quot;e1&quot;
87 extensionName=&quot;MyExtensions&quot;
88 specificationVersion=&quot;1.0&quot;
89 specificationVendor=&quot;Peter Donald&quot;/&gt;
90</pre></blockquote>
91
92<p>Extension object that just species the specification details.</p>
93
94<hr>
95<p align="center">Copyright &copy; 2002-2004 The Apache Software Foundation. All rights
96Reserved.</p>
97
98</body>
99</html>
100
Note: See TracBrowser for help on using the repository browser.