diff --git a/docs/manual/CoreTasks/manifest.html b/docs/manual/CoreTasks/manifest.html index 10fbb6c6e..2ba20e773 100644 --- a/docs/manual/CoreTasks/manifest.html +++ b/docs/manual/CoreTasks/manifest.html @@ -87,6 +87,14 @@ href="#attribute">attribute elements into sections.
<manifest file="MANIFEST.MF"> <attribute name="Built-By" value="${user.name}"/> + <section name="common"> + <attribute name="Specification-Title" value="Example" /> + <attribute name="Specification-Version" value="${version}" /> + <attribute name="Specification-Vendor" value="Example Organization" /> + <attribute name="Implementation-Title" value="common" /> + <attribute name="Implementation-Version" value="${version} ${TODAY}" /> + <attribute name="Implementation-Vendor" value="Example Corp." /> + </section> <section name="common/class1.class"> <attribute name="Sealed" value="false"/> </section> @@ -94,17 +102,33 @@ href="#attribute">attribute elements into sections.
Creates or replaces the file MANIFEST.MF. Note that the Built-By -attribute will take the value of the Ant property ${user.name}. The -manifest produced by the above would look like this: -
+attribute will take the value of the Ant property ${user.name}. The +same is true for the ${version} and ${TODAY} properties. This example +produces a MANIFEST.MF that contains +package +version identification for the packagecommon
.
+
+The manifest produced by the above would look like this:
+Manifest-Version: 1.0
Built-By: bodewig
Created-By: Apache Ant 1.5alpha
+Name: common
+Specification-Title: Example
+Specification-Vendor: Example Organization
+Implementation-Vendor: Example Corp.
+Specification-Version: 1.1
+Implementation-Version: 1.1 February 19 2002
+Implementation-Title: common
+
Name: common/class1.class
-Sealed: false
+Sealed: false
+
+
+
Copyright © 2001 Apache Software Foundation. All rights +
Copyright © 2001-2002 Apache Software Foundation. All rights Reserved.