source: release-kits/lirk3/bin/ant-installer/web/manual1.6.2/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.2 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Language" content="en-us">
4<title>ExtensionSet Type</title>
5<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
6</head>
7
8<body>
9<h2><a>ExtensionSet</a></h2>
10<p>Utility type that represents a set of Extensions.</p>
11<p>Note that this type
12works with extensions as defined by the "Optional Package" specification.
13 For more information about optional packages, see the document
14<em>Optional Package Versioning</em> in the documentation bundle for your
15Java2 Standard Edition package, in file
16<code>guide/extensions/versioning.html</code> or online at
17<a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html">
18http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p>
19
20<h3>Nested Elements</h3>
21
22<h4>extension</h4>
23<p><a href="extension.html">Extension</a> object to add to set.</p>
24
25<h4>fileset</h4>
26 <p><a href="../CoreTypes/fileset.html">FileSet</a>s all files contained
27 contained within set that are jars and implement an extension are added
28 to extension set.</p>
29
30<h4>LibFileSet</h4>
31 <p>All files contained contained within set that are jars and implement
32 an extension are added to extension set. However the extension information
33 may be modified by attributes of libfileset</p>
34
35<h4>Examples</h4>
36<blockquote><pre>
37&lt;extension id=&quot;e1&quot;
38 extensionName=&quot;MyExtensions&quot;
39 specificationVersion=&quot;1.0&quot;
40 specificationVendor=&quot;Peter Donald&quot;
41 implementationVendorID=&quot;vv&quot;
42 implementationVendor=&quot;Apache&quot;
43 implementationVersion=&quot;2.0&quot;
44 implementationURL=&quot;http://somewhere.com/myExt.jar&quot;/&gt;
45
46&lt;libfileset id="lfs"
47 includeUrl="true"
48 includeImpl="false"
49 dir="tools/lib"&gt;
50 &lt;include name="*.jar"/&gt;
51&lt;/libfileset&gt;
52
53&lt;extensionSet id="exts"&gt;
54 &lt;libfileset dir="lib"&gt;
55 &lt;include name="*.jar"/&gt;
56 &lt;/libfileset&gt;
57 &lt;libfileset refid="lfs"/&gt;
58 &lt;extension refid="e1"/&gt;
59&lt;/extensionSet&gt;
60
61</pre></blockquote>
62
63<hr>
64<p align="center">Copyright &copy; 2002-2004 The Apache Software Foundation. All rights
65Reserved.</p>
66
67</body>
68</html>
69
Note: See TracBrowser for help on using the repository browser.