ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks manifest.html
Date Tue, 19 Feb 2002 15:22:55 GMT
bodewig     02/02/19 07:22:55

  Modified:    docs/manual/CoreTasks manifest.html
  Log:
  improve example of manifest task.
  
  Submitted by:	hboutemy@business-village.fr
  
  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>
     &lt;manifest file=&quot;MANIFEST.MF&quot;&gt;
       &lt;attribute name=&quot;Built-By&quot; value=&quot;${user.name}&quot;/&gt;
  +    &lt;section name=&quot;common&quot;&gt;
  +      &lt;attribute name=&quot;Specification-Title&quot; value=&quot;Example&quot;
/&gt;
  +      &lt;attribute name=&quot;Specification-Version&quot; value=&quot;${version}&quot;
/&gt;
  +      &lt;attribute name=&quot;Specification-Vendor&quot; value=&quot;Example
Organization&quot; /&gt;
  +      &lt;attribute name=&quot;Implementation-Title&quot; value=&quot;common&quot;
/&gt;
  +      &lt;attribute name=&quot;Implementation-Version&quot; value=&quot;${version}
${TODAY}&quot; /&gt; 
  +      &lt;attribute name=&quot;Implementation-Vendor&quot; value=&quot;Example
Corp.&quot; /&gt;
  +    &lt;/section&gt;
       &lt;section name=&quot;common/class1.class&quot;&gt;
         &lt;attribute name=&quot;Sealed&quot; value=&quot;false&quot;/&gt;
       &lt;/section&gt;
  @@ -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 &copy; 2001 Apache Software Foundation. All rights
  +<p align="center">Copyright &copy; 2001-2002 Apache Software Foundation. All
rights
   Reserved.</p>
   </body>
   </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message