User: starksm 
  Date: 01/11/27 23:48:09

  Modified:    catalina/src/build Tag: Branch_2_4 build.xml
  Log:
  Add support for setting the type of the primary connector. Currently
  http or warp connectors are supported.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.3   +16 -1     contrib/catalina/src/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/contrib/catalina/src/build/build.xml,v
  retrieving revision 1.4.2.2
  retrieving revision 1.4.2.3
  diff -u -r1.4.2.2 -r1.4.2.3
  --- build.xml 2001/11/12 19:29:44     1.4.2.2
  +++ build.xml 2001/11/28 07:48:09     1.4.2.3
  @@ -1,5 +1,5 @@
   <?xml version="1.0" encoding="UTF-8" ?>
  -<!-- $Id: build.xml,v 1.4.2.2 2001/11/12 19:29:44 starksm Exp $ -->
  +<!-- $Id: build.xml,v 1.4.2.3 2001/11/28 07:48:09 starksm Exp $ -->
   
   <!-- An Ant build file for the catalina-service jar and the
       JBoss/Tomcat bundle. The buildfile requires a JBoss dist
  @@ -16,6 +16,7 @@
       <property name="jboss.dist" value="${basedir}/../../jboss/dist"/>
       <property name="catalina.dist" value="${basedir}/jakarta-tomcat-4.0.1"/>
   
  +    <property name="Name" value="JBoss-Catalina Service"/>
       <property name="name" value="catalina-service"/>
       <property name="lib.dir" value="${basedir}/lib"/>
       <property name="src.dir" value="${basedir}/src/main"/>
  @@ -43,6 +44,7 @@
           <pathelement location="${jboss.dist}/lib/ext/jnet.jar"/>
           <pathelement location="${jboss.dist}/lib/ext/log4j.jar"/>
           <pathelement location="${catalina.dist}/server/lib/catalina.jar"/>
  +        <pathelement location="${catalina.dist}/server/lib/warp.jar"/>
           <pathelement location="${catalina.dist}/common/lib/servlet.jar"/>
           <pathelement location="${build.classes.dir}"/>
       </path>
  @@ -56,6 +58,17 @@
           <echo message="Using classpath=${classpath}" />
       </target>
   
  +  <target name="create-manifest">
  +    <echo file="${build.dir}/version.mf"
  +       append="false">Specification-Title: ${Name}-${version}
  +Specification-Version: ${version}
  +Specification-Vendor: JBoss Group, LLC
  +Implementation-Title: ${Name}-${release} CVSTag=${release-tag}
  +Implementation-Version: ${release}.${build.time}
  +Implementation-Vendor: JBoss Group, LLC
  +    </echo>
  +    <fixcrlf srcdir="${build.dir}" includes="version.mf" eol="crlf" />
  +  </target>
   
       <!-- =================================================================== -->
       <!-- Prepares the build directory                                        -->
  @@ -87,8 +100,10 @@
     <!-- Creates the jar archive                                             -->
     <!-- =================================================================== -->
     <target name="jar" depends="compile">
  +     <antcall target="create-manifest" />
        <jar jarfile="${build.dir}/${jar.file}"
             basedir="${build.classes.dir}"
  +          manifest="${build.dir}/version.mf"
        >
             <include name="org/jboss/web/catalina/**"/>
             <include name="*.dtd"/>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to