jfclere     2005/04/18 06:52:49

  Modified:    jni/native BUILDING
  Log:
  Add how to run the example and to use Tomcat 5.5.x with the new code.
  
  Revision  Changes    Path
  1.2       +17 -2     jakarta-tomcat-connectors/jni/native/BUILDING
  
  Index: BUILDING
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/BUILDING,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BUILDING  15 Apr 2005 12:36:05 -0000      1.1
  +++ BUILDING  18 Apr 2005 13:52:49 -0000      1.2
  @@ -1,5 +1,20 @@
     Building from the cvs tree:
  -  chmod a+x build/get-version.sh
     sh buildconf --with-apr=apr_source_location.
     configure --with-apr=apr_install_location.
  -  
  +  make
  +
  +  Testing the build:
  +  The make should produce a .so file named libtcnative-1.so.
  +  Build the jar containing the example by
  +  cd ..
  +  ant jar
  +  Run the example:
  +  ant example-basic
  + 
  +  Using it in Tomcat:
  +  1 - In <Connector> use of conf/server.xml:
  +    protocol="org.apache.coyote.http11.Http11AprProtocol"
  +  2 - In bin/setup.sh add the following:
  +    CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=tclib_location"
  +    In my machine I am using:
  +    /home/jfclere/jakarta-tomcat-connectors/jni/native/.libs for 
tclib_location 
  
  
  

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

Reply via email to