[PHP4BETA] cvs: /php4/sapi/servlet Makefile.in README From: Sam Ruby (rubys <email protected>)
Date: 01/29/00

rubys Sat Jan 29 05:23:16 2000 EDT

  Modified files:
    /php4/sapi/servlet Makefile.in README
  Log:
  First steps towards restoring sapi/servlet on Unix.
  Cosmetic improvements to allow README to be read on systems with tabstop=8
  
  
Index: php4/sapi/servlet/Makefile.in
diff -u php4/sapi/servlet/Makefile.in:1.4 php4/sapi/servlet/Makefile.in:1.5
--- php4/sapi/servlet/Makefile.in:1.4 Wed Jan 19 06:45:24 2000
+++ php4/sapi/servlet/Makefile.in Sat Jan 29 05:22:46 2000
@@ -4,7 +4,7 @@
 srcdir =  <email protected>@
 VPATH =  <email protected>@
 
-LTLIBRARY_NAME = libsapi.la
+LTLIBRARY_SHARED_NAME = libphpsrvlt.la
 LTLIBRARY_SOURCES = servlet.c java.c
 LTLIBRARY_DEPENDENCIES = phpsrvlt.jar
 
@@ -19,15 +19,15 @@
 phpsrvlt.jar : servlet.java ../../ext/java/reflect.java
          <email protected> -e net || mkdir net
          <email protected> -e net/php || mkdir net/php
+  <email protected> library=phpsrvlt>net/php/reflect.properties
+  <email protected> library=phpsrvlt>net/php/servlet.properties
          <email protected> servlet.java net/php
          <email protected> ../../ext/java/reflect.java net/php
         javac net/php/reflect.java
-  <email protected> library=php4>net/php/reflect.properties
-  <email protected> library=php4>net/php/servlet.properties
          <email protected> ! -f reflect.class || mv reflect.class net/php # bug in KJC javac
         javac -classpath .: <email protected>@: <email protected>@ net/php/servlet.java
          <email protected> ! -f servlet.class || mv servlet.class net/php # bug in KJC javac
- zip -q0 phpsrvlt.jar net/php/*.class net/php/*.properties
+ $(JAVA_JAR) phpsrvlt.jar net/php/*.class net/php/*.properties
          <email protected> net/php/servlet.* net/php/reflect.*
          <email protected> net/php
          <email protected> net
Index: php4/sapi/servlet/README
diff -u php4/sapi/servlet/README:1.1 php4/sapi/servlet/README:1.2
--- php4/sapi/servlet/README:1.1 Mon Nov 29 07:36:25 1999
+++ php4/sapi/servlet/README Sat Jan 29 05:22:46 2000
@@ -8,28 +8,28 @@
    Notes:
 
      1) While this code is intended to be able to run on any servlet engine,
- it has only been tested on Apache's Jakarta/tomcat to date. Bug
- reports, success stories and/or patches required to get this code
- to run on other engines would be appreciated.
+ it has only been tested on Apache's Jakarta/tomcat to date. Bug
+ reports, success stories and/or patches required to get this code
+ to run on other engines would be appreciated.
 
      2) This code clean compiles on Win32 and Linux, and is able to process
- phpinfo() commands. Most of the code is in place, but very little
- testing has been done on even such basic things as cookies and
- sessions. Treat this code as early alpha at this point.
-
- 3) Until overload resolution is addressed in php/java, much of the
- javax.servlet interfaces can not be directly called. For example,
- don't try to get the output stream from $response, and expect to
- be able to use println. For now, use PHP's "echo" instead.
+ phpinfo() commands. Most of the code is in place, but very little
+ testing has been done on even such basic things as cookies and
+ sessions. Treat this code as early alpha at this point.
+
+ 3) Until overload resolution is addressed in php/java, much of the
+ javax.servlet interfaces can not be directly called. For example,
+ don't try to get the output stream from $response, and expect to
+ be able to use println. For now, use PHP's "echo" instead.
 
      4) PHP has a habit of changing the working directory. Sapi/servlet will
- eventually change it back, but while PHP is running the servlet engine
- may not be able to load any classes from the CLASSPATH which are
- specified using a relative directory syntax, or find the work directory used
- for administration and JSP compilation tasks.
+ eventually change it back, but while PHP is running the servlet engine
+ may not be able to load any classes from the CLASSPATH which are
+ specified using a relative directory syntax, or find the work directory
+ used for administration and JSP compilation tasks.
 
 Build and execution instructions:
-
+
   Most of the configuration hassles associated with ext/java are associated
   with starting the JVM, and as such do not apply to sapi/servlet. In
   particular, no updates to php.ini are required on any operating system.
@@ -38,15 +38,15 @@
     Build:
       ./configure --with-servlet --with-java
     Execute:
- add phpsrvlet.jar to CLASSPATH
- add directory containing libphp4.so to LD_LIBRARY_PATH
- merge/overwrite build/tomcat/examples/WEB-INF/web.xml from sapi/servlet
+ add phpsrvlet.jar to CLASSPATH
+ add directory containing libphp4.so to LD_LIBRARY_PATH
+ merge/overwrite build/tomcat/examples/WEB-INF/web.xml from sapi/servlet
 
   Win32:
     Build:
- add jdsk (or d:\build\tomcat\classes) to CLASSPATH
+ add jdsk (or d:\build\tomcat\classes) to CLASSPATH
       build sapi\servlet\servlet.dsp
     Execute:
- add phpsrvlet.jar to CLASSPATH
- add directory containing php4ts.dll and phpsrvlt.dll to PATH
- merge/overwrite build\tomcat\examples\WEB-INF\web.xml from sapi\servlet
+ add phpsrvlet.jar to CLASSPATH
+ add directory containing php4ts.dll and phpsrvlt.dll to PATH
+ merge/overwrite build\tomcat\examples\WEB-INF\web.xml from sapi\servlet

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>