cvs commit: jakarta-oro build.xml

[email protected]
Newsgroups gmane.comp.jakarta.oro.devel
Message-ID <[email protected]>
dfs         02/04/02 00:12:20

  Modified:    .        build.xml
  Log:
  Added version information to manifest (requires ant 1.4.1).
  
  Revision  Changes    Path
  1.3       +22 -2     jakarta-oro/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	15 Mar 2002 03:06:20 -0000	1.2
  +++ build.xml	2 Apr 2002 08:12:20 -0000	1.3
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   <!--
  -   $Id: build.xml,v 1.2 2002/03/15 03:06:20 dfs Exp $
  +   $Id: build.xml,v 1.3 2002/04/02 08:12:20 dfs Exp $
   
   Notes:
      This is a build file for use with the Jakarta Ant build tool.
  @@ -46,6 +46,9 @@
       <!-- prepare target.  Creates build directory. -->
   
       <target name="prepare">
  +       <tstamp>
  +         <format property="DATE" pattern="yyyy-MM-dd hh:mm:ss" />
  +       </tstamp>
           <mkdir dir="${build.dest}"/>
           <mkdir dir="${build.dest}/META-INF"/>
           <copy todir="${build.dest}/META-INF">
  @@ -125,7 +128,24 @@
           <jar jarfile="${top.dir}/${final.name}.jar"
               basedir="${build.dest}"
               includes="org/**,META-INF/**"
  -            excludes="**/package.html,**/overview.html"/>
  +            excludes="**/package.html,**/overview.html">
  +          <manifest>
  +            <section name="org/apache/oro">
  +             <attribute name="Specification-Title"
  +                     value="Jakarta ORO" />
  +             <attribute name="Specification-Version"
  +                     value="${version}" />
  +             <attribute name="Specification-Vendor"
  +                     value="Apache Software Foundation" />
  +             <attribute name="Implementation-Title"
  +                     value="org.apache.oro" />
  +             <attribute name="Implementation-Version"
  +                     value="${version} ${DATE}" />
  +             <attribute name="Implementation-Vendor"
  +                     value="Apache Software Foundation" />
  +            </section>
  +           </manifest>
  +        </jar>
       </target>
   
       <!-- javadocs target.  Creates the API documentation -->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.