tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-servletapi README build.bat build.sh build.xml
Date Wed, 26 Apr 2000 22:09:47 GMT
craigmcc    00/04/26 15:09:47

  Modified:    .        build.bat build.sh build.xml
  Added:       .        README
  Log:
  Revise the build procedure to store "build" and "dist" targets according
  to Jakarta project norms (in ../build/servletapi and ../dist/servletapi,
  respectively).
  
  Modify the build scripts to reflect the change in Ant to support XML
  parser pluggability via JAXP (i.e. no more "lib/xml.jar" file).
  
  Add a README file describing the steps required to build the servletapi
  project from source.
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-servletapi/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi/build.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.bat	2000/04/26 05:22:28	1.1
  +++ build.bat	2000/04/26 22:09:46	1.2
  @@ -8,12 +8,12 @@
   
   rem else
   set _CLASSPATH=%CLASSPATH%
  -set CLASSPATH=%CLASSPATH%;%ANT_HOME%\lib\ant.jar;%ANT_HOME%\lib\xml.jar;%JAVA_HOME%/lib/tools.jar
  +set CLASSPATH=%CLASSPATH%;%ANT_HOME%\lib\ant.jar;%JAVA_HOME%/lib/tools.jar
   goto next
   
   :noclasspath
   set _CLASSPATH=
  -set CLASSPATH=%ANT_HOME%\lib\ant.jar;%ANT_HOME%\lib\xml.jar;%JAVA_HOME/lib/tools.jar
  +set CLASSPATH=%ANT_HOME%\lib\ant.jar;%JAVA_HOME/lib/tools.jar
   goto next
   
   :next
  
  
  
  1.2       +2 -2      jakarta-servletapi/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi/build.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.sh	2000/04/26 05:22:28	1.1
  +++ build.sh	2000/04/26 22:09:46	1.2
  @@ -1,6 +1,6 @@
   #! /bin/sh
   
  -# $Id: build.sh,v 1.1 2000/04/26 05:22:28 craigmcc Exp $
  +# $Id: build.sh,v 1.2 2000/04/26 22:09:46 craigmcc Exp $
   
   if [ -z "$JAVA_HOME" ]
   then
  @@ -16,6 +16,6 @@
   
   JAVACMD=$JAVA_HOME/bin/java
   
  -cp=../jakarta-ant/lib/ant.jar:../jakarta-ant/lib/xml.jar:$JAVA_HOME/lib/tools.jar
  +cp=../jakarta-ant/lib/ant.jar:$JAVA_HOME/lib/tools.jar
   $JAVACMD -classpath $cp:$CLASSPATH org.apache.tools.ant.Main "$@"
   
  
  
  
  1.2       +2 -2      jakarta-servletapi/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2000/04/26 05:22:28	1.1
  +++ build.xml	2000/04/26 22:09:46	1.2
  @@ -4,8 +4,8 @@
   
     <property name="ant.home" value="../jakarta-ant" />
     <property name="build.compiler"   value="classic"/>
  -  <property name="servletapi.build" value="build"/>
  -  <property name="servletapi.dist"  value="dist"/>
  +  <property name="servletapi.build" value="../build/servletapi"/>
  +  <property name="servletapi.dist"  value="../dist/servletapi"/>
     <property name="servletapi.lib"   value="lib"/>
   
     <!-- ===================== Prepare Directories ========================= -->
  
  
  
  1.1                  jakarta-servletapi/README
  
  Index: README
  ===================================================================
  		Java Servlet and JSP Implementation Classes
  		===========================================
  
  This subproject contains the source code for the implementation classes of the
  Java Servlet and JSP APIs (packages javax.servlet).  In order to build these
  sources successfully, you must do the following:
  
  * Download and install the Java API for XML Parsing implementation (current
    version number is 1.0) from <http://java.sun.com/xml>.  Make sure that the
    "jaxp.jar" and "parser.jar" files are on your class path.
  
  * Download and install the JAKARTA-ANT distribution.  If you have downloaded
    the source distribution, you must create the executable version by
    executing the following commands:
  	cd jakarta-ant
  	./bootstrap.sh		<-- Unix
  	bootstrap		<-- Windows
    This should result in the creation of a file "ant.jar" in the "lib"
    subdirectory, which will be used when building the Servlet API distribution.
  
  * Download and install the JAKARTA-SERVLETAPI source code, or check it out
    from the CVS repository, into a directory parallel to the jakarta-ant
    directory created above.  That is, if you downloaded both subprojects into
    a directory named $JAKARTA_HOME, you would see the following two entries:
  	jakarta-ant/
  	jakarta-servletapi/
    under it.
  
  * Build the servlet API distribution (a "servlet.jar" file containing the
    classes and a ZIP file containing the API documentation) as follows:
  	cd jakarta-servletapi
  	./build.sh dist		<-- Unix
  	build dist		<-- Windows
    This should result in the creation of a new "dist" directory at the same
    level as "jakarta-ant" and "jakarta-servletapi", with a "servletapi"
    directory underneath it.  In this distribution directory, you will find:
  	servlet.jar		Binary servlet classes suitable
  				for use when compiling servlets
  				(or a servlet container)
  	servletapi-doc.zip	ZIP file containing the JavaDoc documentation
  				for the servlet and JSP API classes.
  
  
  
  
  

Mime
View raw message