remm 02/02/28 17:48:14 Modified: . build.properties.sample BUILDING.txt Log: - Various changes to the buld instructions. - Submitted in part by Luc Vanlerberghe <lvl at bvdep.com> Revision Changes Path 1.32 +7 -5 jakarta-tomcat-4.0/build.properties.sample Index: build.properties.sample =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/build.properties.sample,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- build.properties.sample 23 Feb 2002 02:06:21 -0000 1.31 +++ build.properties.sample 1 Mar 2002 01:48:14 -0000 1.32 @@ -6,7 +6,7 @@ # modules that Tomcat depends on. Copy this file to "build.properties" # in the top-level source directory, and customize it as needed. # -# $Id: build.properties.sample,v 1.31 2002/02/23 02:06:21 remm Exp $ +# $Id: build.properties.sample,v 1.32 2002/03/01 01:48:14 remm Exp $ # ----------------------------------------------------------------------------- @@ -146,10 +146,10 @@ jdbc20ext.jar=${jdbc20ext.lib}/jdbc2_0-stdext.jar -# ----- Java Management Extensions (JMX), JMX RI 1.0.1 or later or OpenJMX 1.0b2 or later ----- -jmx.home=${base.path}/openjmx-1.0 +# ----- Java Management Extensions (JMX), JMX RI 1.0.1 or later or MX4J 1.0 or later ----- +jmx.home=${base.path}/mx4j-1.0 jmx.lib=${jmx.home}/lib -jmx.jar=${jmx.lib}/openjmx.jar +jmx.jar=${jmx.lib}/mx4j.jar # ----- Java Secure Sockets Extension (JSSE), version 1.0.2 or later ----- @@ -183,12 +183,14 @@ # ----- Struts, version 1.0.1 or later ----- -struts.home=${base.path}/jakarta-struts-1.0.1 +struts.home=${base.path}/jakarta-struts-1.0.2 struts.lib=${struts.home}/lib struts.jar=${struts.lib}/struts.jar + # ----- Tyrex Data Source, version 0.9.7 ----- tyrex.home=${base.path}/tyrex-0.9.7.0 tyrex.lib=${tyrex.home} tyrex.jar=${tyrex.lib}/tyrex-0.9.7.0.jar + 1.28 +62 -40 jakarta-tomcat-4.0/BUILDING.txt Index: BUILDING.txt =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/BUILDING.txt,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- BUILDING.txt 20 Feb 2002 01:07:34 -0000 1.27 +++ BUILDING.txt 1 Mar 2002 01:48:14 -0000 1.28 @@ -1,4 +1,4 @@ -$Id: BUILDING.txt,v 1.27 2002/02/20 01:07:34 remm Exp $ +$Id: BUILDING.txt,v 1.28 2002/03/01 01:48:14 remm Exp $ Building The Tomcat 4.0 Servlet/JSP Container @@ -73,8 +73,28 @@ * Make the "xalan.jar" file of this distribution available to Ant (so that it can be used with the <style> tag) by copying it to "${ant.home}/lib". +* This is optional with JDK 1.4 or later. -(3) Download and Install the Xerces 1 or 2 Distribution + +(3) Download and Install the JNDI 1.2.1 Reference Implementation + +* Download the Java Naming and Directory Interface (JNDI) package, + (version 1.2.1 or later) from + + http://java.sun.com/products/jndi/ + +* Unpack the reference implementation into a convenient location so that + it resides in its own subdirectory. + +* You will also need the LDAP Service Provider Maintenance package, + (version 1.2.3 or later) available on the same download page. Be sure + that you unpack "ldap.jar" and "jaas.jar" into the "lib" subdirectory of + the JNDI directory, parallel to "jndi.jar". + +* This is optional with JDK 1.3 or later. + + +(4) Download and Install the Xerces 1 or 2 Distribution * Download a binary distribution from: @@ -97,8 +117,10 @@ - If you have defined both sets of properties, the newer (two files) packaging will be loaded into the Tomcat you are building +* This is optional with JDK 1.4 or later. + -(4) Download and Install Subproject Source Code +(5) Download and Install Subproject Source Code * Use Anonymous CVS (as described on the Jakarta web site at <http://jakarta.apache.org/site/cvsindex.html>, or @@ -133,7 +155,7 @@ described below (see 24) if it resides in a different directory. -(5) Download and Install the Servlet API Binary Distribution +(6) Download and Install the Servlet API Binary Distribution NOTE: Alternatively, you can download the sources of the "jakarta-servletapi-4" subproject, and build a binary distribution yourself, @@ -154,7 +176,7 @@ distribution resides in its own directory. -(6) Download and Install the Commons Beanutils Binary Distribution +(7) Download and Install the Commons Beanutils Binary Distribution * Download a binary distribution of Version 1.1 or later from: @@ -170,7 +192,7 @@ distribution resides in its own directory. -(7) Download and Install the Commons Collections Binary Distribution +(8) Download and Install the Commons Collections Binary Distribution * Download a binary distribution of Version 1.0 or later from: @@ -186,7 +208,7 @@ distribution resides in its own directory. -(8) Download and Install the Commons Digester Binary Distribution +(9) Download and Install the Commons Digester Binary Distribution * Download a binary distribution of Version 1.1.1 or later from: @@ -202,7 +224,7 @@ distribution resides in its own directory. -(9) Download and Install the Commons Logging Binary Distribution +(10) Download and Install the Commons Logging Binary Distribution * Download a binary distribution (nightly build for now) from: @@ -218,30 +240,30 @@ distribution resides in its own directory. -(10) Download and Install the JNDI 1.2.1 Reference Implementation +(11) Download and Install the Regexp Binary Distribution -* Download the Java Naming and Directory Interface (JNDI) package, - (version 1.2.1 or later) from +* Download a binary distribution of Version 1.2 or later from: - http://java.sun.com/products/jndi/ + http://jakarta.apache.org/builds/jakarta-regexp/release/ -* Unpack the reference implementation into a convenient location so that - it resides in its own subdirectory. + On a Windows platform, you will need: + jakarta-regexp-X.Y.zip -* You will also need the LDAP Service Provider Maintenance package, - (version 1.2.3 or later) available on the same download page. Be sure - that you unpack "ldap.jar" and "jaas.jar" into the "lib" subdirectory of - the JNDI directory, parallel to "jndi.jar". + On a Unix platform, you will need: + jakarta-regexp-X.Y.tar.gz + +* Unpack the binary distribution into a convenient location so that the + distribution resides in its own directory. -(11) Steps (12)-(24) are optional, but are necessary to build a complete binary +(12) Steps (13)-(25) are optional, but are necessary to build a complete binary distribution of Tomcat 4.0. Set the "full.dist" property to "on" in the - build.properties file (see step (23)) to build a complete distribution. + build.properties file (see step (26)) to build a complete distribution. Regular contributors to Tomcat are encouraged to use the complete build option. -(12) Download and Install JDBC Optional Package API Binary Distribution +(13) Download and Install JDBC Optional Package API Binary Distribution * Download the JDBC Optional Pacakge API package (version 2.0) from: @@ -250,28 +272,28 @@ * Place the jar in a convenient location. -(13) Download and Install an implementation of the JMX 1.0 specification. This - can be either OpenJMX (http://www.open-jmx.org) or Sun JMX 1.0 Reference +(14) Download and Install an implementation of the JMX 1.0 specification. This + can be either MX4J (http://mx4j.sourceforge.net) or Sun JMX 1.0 Reference Implementation. NOTE: This step is only required if you wish to build the Config/Admin web application. -NOTE: The Tomcat binaries are distrbuted with OpenJMX. +NOTE: The Tomcat binaries are distrbuted with MX4J. -* Download OpenJMX (version 1.0 beta 2 or later) from +* Download MX4J (version 1.0 or later) from - http://sourceforge.net/project/showfiles.php?group_id=34041 + http://sourceforge.net/project/showfiles.php?group_id=47745 * Alternately, download the JMX Instrumentation and Agent Reference Implementation (version 1.0 or later) from http://java.sun.com/products/JavaManagement/download.html -* Unpack OpenJMX or the reference implementation into a convenient location +* Unpack MX4J or the reference implementation into a convenient location so that it resides in its own subdirectory. -(14) Download and Install the Java Activation Framework 1.0.1 +(15) Download and Install the Java Activation Framework 1.0.1 * Download the Java Activation Framework package (version 1.0.1 or later) from @@ -281,7 +303,7 @@ resides in its own subdirectory. -(15) Download and Install JavaMail 1.2 +(16) Download and Install JavaMail 1.2 * Download the JavaMail package (version 1.2 or later) from @@ -291,7 +313,7 @@ it resides in its own subdirectory. -(16) Download and Install the JSSE 1.0.2 Reference Implementation +(17) Download and Install the JSSE 1.0.2 Reference Implementation * Download the Java Secure Sockets Extension (JSSE) package, (version 1.0.2 or later) from @@ -302,7 +324,7 @@ it resides in its own subdirectory. -(17) Download and Install the Java Transaction APIs +(18) Download and Install the Java Transaction APIs * Download the Java Transaction API (JTA) package (version 1.0.1) from: @@ -312,7 +334,7 @@ own subdirectory. -(18) Download and Install the Struts Binary Distribution +(19) Download and Install the Struts Binary Distribution * Download a binary distribution of Struts 1.0.1 from: @@ -328,7 +350,7 @@ distribution resides in its own directory. -(19) Download and Install the Tyrex Data Source Package +(20) Download and Install the Tyrex Data Source Package NOTE: This step is only required if you wish to build the Tyrex connection pool implementation for JNDI-accessed data sources. @@ -341,7 +363,7 @@ own subdirectory. -(20) Download and Install the JUnit Testing Package (OPTIONAL) +(21) Download and Install the JUnit Testing Package (OPTIONAL) NOTE: This step is only required if you wish to build and execute the unit tests that are part of the Tomcat 4.0 source base. @@ -354,7 +376,7 @@ own subdirectory. -(21) Download and Install the Commons Modeler Binary Distribution +(22) Download and Install the Commons Modeler Binary Distribution NOTE: This step is only required if you wish to build the Config/Admin web application. @@ -373,7 +395,7 @@ distribution resides in its own directory. -(22) Download and Install the Commons DBCP Binary Distribution +(23) Download and Install the Commons DBCP Binary Distribution NOTE: This step is only required if you wish to use the database JDBC data source factory. @@ -392,7 +414,7 @@ distribution resides in its own directory. -(23) Download and Install the Commons Pool Binary Distribution +(24) Download and Install the Commons Pool Binary Distribution NOTE: This step is only required if you wish to use the database JDBC data source factory. @@ -411,7 +433,7 @@ distribution resides in its own directory. -(24) Download and Install the Commons Daemon Binary Distribution +(25) Download and Install the Commons Daemon Binary Distribution NOTE: This step is only required if you wish to build the classes needed to run Tomcat as a native operating system daemon using commons-daemon. @@ -430,7 +452,7 @@ distribution resides in its own directory. -(25) Customize Build Properties For This Subproject +(26) Customize Build Properties For This Subproject Most Jakarta subprojects allow you to customize Ant properties (with default values defined in the "build.xml" file. This is done by creating a text file @@ -454,7 +476,7 @@ each developer will have their own version. -(26) Build A Binary Distribution +(27) Build A Binary Distribution Open a command line shell, and issue the following commands:
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>