bodewig 02/02/19 07:22:55
Modified: docs/manual/CoreTasks manifest.html
Log:
improve example of manifest task.
Submitted by: [EMAIL PROTECTED]
Revision Changes Path
1.4 +29 -5 jakarta-ant/docs/manual/CoreTasks/manifest.html
Index: manifest.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/manifest.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- manifest.html 10 Jan 2002 08:48:29 -0000 1.3
+++ manifest.html 19 Feb 2002 15:22:55 -0000 1.4
@@ -87,6 +87,14 @@
<pre>
<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 @@
</pre>
<p>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:
-</p>
+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
+<a
href="http://java.sun.com/products/jdk/1.2/docs/guide/versioning/index.html">package
+version identification</a> for the package <code>common</code>.</p>
+
+<p>The manifest produced by the above would look like this:</p>
+
<pre><code>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</code></pre>
+Sealed: false
+
+</code></pre>
+
<hr>
-<p align="center">Copyright © 2001 Apache Software Foundation. All
rights
+<p align="center">Copyright © 2001-2002 Apache Software Foundation. All
rights
Reserved.</p>
</body>
</html>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>