craigmcc    2002/07/08 14:07:23

  Modified:    .        build.xml
  Added:       src/etc  manifest
  Log:
  Equivalent changes for Servlet 2.3 / JSP 1.2 to include a manifest file
  in the JAR.  (I used "1" as the implementation.revision setting, on the
  theory that the first one would have been "0".)
  
  Submitted by: Larry Isaacs <Larry.Isaacs at sas.com>
  
  Revision  Changes    Path
  1.6       +13 -2     jakarta-servletapi-4/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-4/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml 20 Jul 2001 19:51:05 -0000      1.5
  +++ build.xml 8 Jul 2002 21:07:23 -0000       1.6
  @@ -11,6 +11,7 @@
     <property name="compile.debug"       value="true"/>
     <property name="compile.deprecation" value="false"/>
     <property name="compile.optimize"    value="true"/>
  +  <property name="implementation.revision" value="1"/>
     <property name="servletapi.build"    value="build"/>
     <property name="servletapi.dist"     value="dist"/>
     <property name="servletapi.lib"      value="lib"/>
  @@ -95,7 +96,7 @@
                use="true"
                windowtitle="Servlet and JavaServer Pages API Documentation"
                doctitle="Servlet and JavaServer Pages API Documentation"
  -             bottom="Copyright &amp;copy; 1999-2001 The Apache Software Foundation. 
 All Rights Reserved."/>
  +             bottom="Copyright &amp;copy; 1999-2002 The Apache Software Foundation. 
 All Rights Reserved."/>
   
     </target>
   
  @@ -109,9 +110,19 @@
           <fileset dir="${servletapi.build}/docs/api"/>
       </copy>
   
  +    <!-- Prepare Manifest -->
  +    <copy tofile="${servletapi.build}/manifest"
  +            file="src/etc/manifest" overwrite="yes">
  +      <filterset>
  +        <filter token="implementation.revision"
  +                value="${implementation.revision}"/>
  +      </filterset>
  +    </copy>
  +
       <!-- Create JAR file -->
       <jar jarfile="${servletapi.dist}/lib/servlet.jar"
  -         basedir="${servletapi.build}/classes"/>
  +         basedir="${servletapi.build}/classes"
  +        manifest="${servletapi.build}/manifest"/>
   
       <!-- Copy API source files -->
       <copy todir="${servletapi.dist}/src">
  
  
  
  1.1                  jakarta-servletapi-4/src/etc/manifest
  
  Index: manifest
  ===================================================================
  Manifest-version: 1.0
  
  Name: javax/servlet/
  Specification-Title: Java API for Servlets
  Specification-Version: 2.3
  Specification-Vendor: Sun Microsystems, Inc.
  Implementation-Title: javax.servlet
  Implementation-Version: [EMAIL PROTECTED]@
  Implementation-Vendor: Apache Software Foundation
  
  Name: javax/servlet/jsp/
  Specification-Title: Java API for JavaServer Pages
  Specification-Version: 1.2
  Specification-Vendor: Sun Microsystems, Inc.
  Implementation-Title: javax.servlet.jsp
  Implementation-Version: [EMAIL PROTECTED]@
  Implementation-Vendor: Apache Software Foundation
  
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to