Cari di Apache Ant 
    Apache Ant User Manual
Daftar Isi
(Sebelumnya) DirSetSet of Extension Packages (Berikutnya)
Concepts and Types - Types

Extension Package

Extension

Utility type that represents either an available "Optional Package" (formerly known as "Standard Extension") as described in the manifest of a JAR file, or the requirement for such an optional package.

Note that this typeworks with extensions as defined by the "Optional Package" specification. For more information about optional packages, see the documentOptional Package Versioning in the documentation bundle for yourJava2 Standard Edition package, in fileguide/extensions/versioning.html or online athttp://download.oracle.com/javase/1.3/docs/guide/extensions/versioning.html.

Attributes

The extension type supports the following attributes:

Attribute Description Required
extensionName The name of extension yes
specificationVersion The version of extension specification (Must be in dewey decimal aka dotted decimal notation. 3.2.4) no
specificationVendor The specification vendor no
implementationVersion The version of extension implementation (Must be in dewey decimal aka dotted decimal notation. 3.2.4) no
implementationVendor The implementation vendor no
implementationVendorId The implementation vendor ID no
implementationURL The url from which to retrieve extension. no

Examples

<extension id="e1" extensionName="MyExtensions" specificationVersion="1.0" specificationVendor="Peter Donald" implementationVendorID="vv" implementationVendor="Apache" implementationVersion="2.0" implementationURL="http://somewhere.com/myExt.jar"/>

Fully specific extension object.

<extension id="e1" extensionName="MyExtensions" specificationVersion="1.0" specificationVendor="Peter Donald"/>

Extension object that just species the specification details.

(Sebelumnya) DirSetSet of Extension Packages (Berikutnya)