source: release-kits/lirk3/bin/ant-installer/web/manual/manual/OptionalTypes/extensionset.html@ 14982

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

initial import of LiRK3

File size: 2.8 KB
Line 
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
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<html>
18<head>
19<meta http-equiv="Content-Language" content="en-us">
20<link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
21<title>ExtensionSet Type</title>
22</head>
23
24<body>
25<h2><a>ExtensionSet</a></h2>
26<p>Utility type that represents a set of Extensions.</p>
27<p>Note that this type
28works with extensions as defined by the "Optional Package" specification.
29 For more information about optional packages, see the document
30<em>Optional Package Versioning</em> in the documentation bundle for your
31Java2 Standard Edition package, in file
32<code>guide/extensions/versioning.html</code> or online at
33<a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html">
34http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p>
35
36<h3>Nested Elements</h3>
37
38<h4>extension</h4>
39<p><a href="extension.html">Extension</a> object to add to set.</p>
40
41<h4>fileset</h4>
42 <p><a href="../CoreTypes/fileset.html">FileSet</a>s all files contained
43 contained within set that are jars and implement an extension are added
44 to extension set.</p>
45
46<h4>LibFileSet</h4>
47 <p>All files contained contained within set that are jars and implement
48 an extension are added to extension set. However the extension information
49 may be modified by attributes of libfileset</p>
50
51<h3>Examples</h3>
52<blockquote><pre>
53&lt;extension id=&quot;e1&quot;
54 extensionName=&quot;MyExtensions&quot;
55 specificationVersion=&quot;1.0&quot;
56 specificationVendor=&quot;Peter Donald&quot;
57 implementationVendorID=&quot;vv&quot;
58 implementationVendor=&quot;Apache&quot;
59 implementationVersion=&quot;2.0&quot;
60 implementationURL=&quot;http://somewhere.com/myExt.jar&quot;/&gt;
61
62&lt;libfileset id="lfs"
63 includeUrl="true"
64 includeImpl="false"
65 dir="tools/lib"&gt;
66 &lt;include name="*.jar"/&gt;
67&lt;/libfileset&gt;
68
69&lt;extensionSet id="exts"&gt;
70 &lt;libfileset dir="lib"&gt;
71 &lt;include name="*.jar"/&gt;
72 &lt;/libfileset&gt;
73 &lt;libfileset refid="lfs"/&gt;
74 &lt;extension refid="e1"/&gt;
75&lt;/extensionSet&gt;
76
77</pre></blockquote>
78
79
80
81</body>
82</html>
83
Note: See TracBrowser for help on using the repository browser.