lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene build.xml
Date Sat, 19 Oct 2002 16:06:04 GMT
otis        2002/10/19 09:06:04

  Modified:    .        build.xml
  Log:
  - Modified targets ininit and jar, in order to get a custom MANIFEST.MF in a
    Jar file.
  
  Revision  Changes    Path
  1.33      +17 -0     jakarta-lucene/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/build.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- build.xml	23 Sep 2002 04:08:55 -0000	1.32
  +++ build.xml	19 Oct 2002 16:06:04 -0000	1.33
  @@ -53,6 +53,11 @@
         property="junit.present"
         classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
       />
  +
  +    <tstamp>
  +      <format property="DSTAMP" pattern="yyyy-MM-dd"/>
  +      <format property="TSTAMP" pattern="HH:mm:ss"/>
  +    </tstamp>
     </target>
   
     <target name="javacc_check" depends="init" unless="javacc.present">
  @@ -124,10 +129,22 @@
     <!--                                                                    -->
     <!-- ================================================================== -->
     <target name="jar" depends="compile" if="javacc.present">
  +
  +        <!-- Create Jar MANIFEST file -->
  +                <echo file="${build.manifest}">Manifest-Version: 1.0
  +Created-By: Apache Jakarta
  +
  +Name: org/apache/lucene
  +Implementation-Title: org.apache.lucene
  +Implementation-Version: build ${DSTAMP} ${TSTAMP}
  +Implementation-Vendor: Apache Jakarta
  +</echo>
  +
       <jar
         jarfile="${build.dir}/${final.name}.jar"
         basedir="${build.classes}"
         excludes="**/*.java"
  +      manifest="${build.manifest}"
       />
     </target>
   
  
  
  

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


Mime
View raw message