Author: jhm
Date: Thu Jan 4 07:08:09 2007
New Revision: 492592
URL: http://svn.apache.org/viewvc?view=rev&rev=492592
Log:
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
Modified: ant/core/trunk/docs/manual/CoreTasks/jar.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/jar.html?view=diff&rev=492592&r1=492591&r2=492592
==============================================================================
--- 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> <jar destfile="test.jar" basedir=".">
<include name="build"/>
<manifest>
+ <!-- Who is building this jar? -->
<attribute name="Built-By" value="${user.name}"/>
- <attribute name="Program-Version" value="1.0.0beta2"/>
+ <!-- Information about the program itself -->
+ <attribute name="Implementation-Vendor" value="ACME
inc."/>
+ <attribute name="Implementation-Title" value="GreatProduct"/>
+ <attribute name="Implementation-Version" value="1.0.0beta2"/>
+ <!-- details -->
<section name="common/class1.class">
<attribute name="Sealed" value="false"/>
</section>
</manifest>
</jar></pre>
<p>
-This is an example of an inline manifest specification. 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:
+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 ${user.name}. The manifest produced by the above would look like this:
</p>
<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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|