ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r492592 - /ant/core/trunk/docs/manual/CoreTasks/jar.html
Date Thu, 04 Jan 2007 15:08:10 GMT
Author: jhm
Date: Thu Jan  4 07:08:09 2007
New Revision: 492592

Use the attribute name as provided in the jar-docs and suggested by Antoine. "Update" Ant.
Use more "application information".


Modified: ant/core/trunk/docs/manual/CoreTasks/jar.html
--- ant/core/trunk/docs/manual/CoreTasks/jar.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/jar.html Thu Jan  4 07:08:09 2007
@@ -368,22 +368,29 @@
 <pre>  &lt;jar destfile=&quot;test.jar&quot; basedir=&quot;.&quot;&gt;
     &lt;include name=&quot;build&quot;/&gt;
+      &lt;!-- Who is building this jar? --&gt;
       &lt;attribute name=&quot;Built-By&quot; value=&quot;${}&quot;/&gt;
-      &lt;attribute name=&quot;Program-Version&quot; value=&quot;1.0.0beta2&quot;/&gt;
+      &lt;!-- Information about the program itself --&gt;
+      &lt;attribute name=&quot;Implementation-Vendor&quot; value=&quot;ACME
+      &lt;attribute name=&quot;Implementation-Title&quot; value=&quot;GreatProduct&quot;/&gt;
+      &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;1.0.0beta2&quot;/&gt;
+      &lt;!-- details --&gt;
       &lt;section name=&quot;common/class1.class&quot;&gt;
         &lt;attribute name=&quot;Sealed&quot; value=&quot;false&quot;/&gt;
-This is an example of an inline manifest specification. Note that the Built-By
-attribute will take the value of the Ant property ${}. The manifest
-produced by the above would look like this:
+This is an example of an inline manifest specification including the version of the build
+program (Implementation-Version). Note that the Built-By attribute will take the value of
the Ant 
+property ${}. The manifest produced by the above would look like this:
 <pre><code>Manifest-Version: 1.0
 Built-By: conor
-Program-Version: 1.0.0beta2
-Created-By: Apache Ant 1.6.5
+Implementation-Vendor: ACME inc.
+Implementation-Title: GreatProduct
+Implementation-Version: 1.0.0beta2
+Created-By: Apache Ant 1.7.0
 Name: common/MyClass.class
 Sealed: false</code></pre>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message