From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../manual/Tasks/jarlib-manifest.html | 123 +++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/jarlib-manifest.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/jarlib-manifest.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/jarlib-manifest.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/jarlib-manifest.html new file mode 100644 index 00000000..019b5545 --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/jarlib-manifest.html @@ -0,0 +1,123 @@ + + + + + + +jarlib-manifest Task + + + + +

jarlib-manifest

+

Description

+

Task to generate a manifest that declares all the dependencies + in manifest. The dependencies are determined by looking in the + specified path and searching for Extension / "Optional Package" + specifications in the manifests of the jars.

+ +

Note that this task +works with extensions as defined by the "Optional Package" specification. + For more information about optional packages, see the document +Optional Package Versioning in the documentation bundle for your +Java Standard Edition package, in file +guide/extensions/versioning.html or the online + +Extension and ExtensionSet documentation for further details

+ +

Parameters

+ + + + + + + + + + + +
AttributeDescriptionRequired
destfileThe file to generate Manifest intoYes.
+

Parameters specified as nested elements

+ +

extension

+

Extension the extension + that this library implements.

+ +

depends

+

ExtensionSets containing + all dependencies for jar.

+ +

options

+

ExtensionSets containing + all optional dependencies for jar. (Optional dependencies will be used if + present else they will be ignored)

+ +

Examples

+

Basic Manifest generated for single Extension

+
+<extension id="e1"
+    extensionName="MyExtensions"
+    specificationVersion="1.0"
+    specificationVendor="Peter Donald"
+    implementationVendorID="vv"
+    implementationVendor="Apache"
+    implementationVersion="2.0"
+    implementationURL="http://somewhere.com"/>
+
+<jarlib-manifest destfile="myManifest.txt">
+    <extension refid="e1"/>
+</jarlib-manifest>
+
+ +

Search for extension in fileset

+

A large example with required and optional dependencies

+
+<extension id="e1"
+    extensionName="MyExtensions"
+    specificationVersion="1.0"
+    specificationVendor="Peter Donald"
+    implementationVendorID="vv"
+    implementationVendor="Apache"
+    implementationVersion="2.0"
+    implementationURL="http://somewhere.com"/>
+
+<extensionSet id="option.ext">
+    <libfileset dir="lib/option">
+        <include name="**/*.jar"/>
+    </libfileset>
+</extensionSet>
+
+<extensionSet id="depends.ext">
+    <libfileset dir="lib/required">
+        <include name="*.jar"/>
+    </libfileset>
+</extensionSet>
+
+<jarlib-manifest destfile="myManifest.txt">
+    <extension refid="e1"/>
+    <depends refid="depends.ext"/>
+    <options refid="option.ext"/>
+</jarlib-manifest>
+
+ + + + + + -- cgit 1.2.3-korg