tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native build.xml
Date Tue, 30 Oct 2001 21:06:39 GMT
costin      01/10/30 13:06:39

  Modified:    jk/native build.xml
  Log:
  Add 2 sample defines. The first is just a sample ( it has the default value ), the
  second is REUSE_WORKER, which was disabled long ago because we wanted to use the
  stable code. This works by using per-thread data, I'll try it and if it works I'll leave
  it on for a while ( until someone finds a reason to turn it off )
  
  ( I'll keep it on only in the ant-based build, which is also experimental right now )
  
  Revision  Changes    Path
  1.6       +9 -2      jakarta-tomcat-connectors/jk/native/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	2001/10/29 17:59:21	1.5
  +++ build.xml	2001/10/30 21:06:39	1.6
  @@ -16,7 +16,7 @@
     <property name="apache2.home" location="/opt/apache2" />
     <property name="apache13.home" location="/usr" />
   
  -  <target name="main" depends="init,apache13,apache20,jni">
  +  <target name="main" depends="init,apache20,jni">
     </target>
   
     <target name="init" >
  @@ -28,7 +28,7 @@
       <so sofile="jni_connect" buildDir="jni" >
         <jniConfig />
         <src dir="${native.dir}">
  -	<include name="jni/jk_jnicb.c" />
  +	<include name="jni/*.c" />
   	<include name="common/jk_map.c" />
   	<include name="common/jk_util.c" />
   	<include name="common/jk_pool.c" />
  @@ -36,6 +36,7 @@
         <includes>
   	<pathelement location="${native.dir}/common" />
   	<pathelement location="${java.home}/../include" />
  +	<pathelement location="${apache2.home}/include" />
         </includes>
         <depends>
   	<fileset dir="${native.dir}/common" includes="*.h" />
  @@ -45,6 +46,12 @@
   
     <target name="apache20" >
       <so sofile="mod_jk" buildDir="apache-2.0">
  +      <def name="CHUNK_SIZE" value="4096" 
  +	   info="Read/Write buffer size" />
  +      <def name="REUSE_WORKER" 
  +	   unless="option_no_reuse_worker"
  +	   info="Reuse the worker endpoint, using per thread data" />
  +
         <apacheConfig apxs="${apxs20}" />
         <jniConfig />
         <src dir=".">
  
  
  

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


Mime
View raw message