Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 109 invoked by uid 2016); 12 Oct 1999 22:43:09 -0000 Delivered-To: apcore-jakarta-tomcat-cvs@apache.org Received: (qmail 107 invoked by uid 218); 12 Oct 1999 22:43:08 -0000 Date: 12 Oct 1999 22:43:08 -0000 Message-ID: <19991012224308.106.qmail@hyperreal.org> From: stefano@hyperreal.org To: jakarta-tomcat-cvs@apache.org Subject: cvs commit: jakarta-tomcat build.xml README stefano 99/10/12 15:43:08 Modified: . build.xml README Log: - Updated the README - changed the "../build" to "./build" since it makes little sense to go back one directory These should not brake anything, but I'm not sure. We can go back if this is the case. Revision Changes Path 1.2 +88 -88 jakarta-tomcat/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.xml 1999/10/09 00:19:57 1.1 +++ build.xml 1999/10/12 22:43:05 1.2 @@ -2,54 +2,54 @@ - - - - - - - - - + + + + + + + + + + dest="./build/tomcat/lib/xml.jar"/> - + - + dest="./build/tomcat/startserver.bat"/> + + dest="./build/tomcat/stopserver.bat"/> + dest="./build/tomcat/server.xml"/> + dest="./build/tomcat/etc/server.xml"/> + dest="./build/tomcat/etc/server.dtd"/> + dest="./build/tomcat/etc/web.xml"/> - - - + dest="./build/tomcat/etc/web.dtd"/> + + + + dest="./build/tomcat/etc/SimpleStartup.java"/> - + + destdir="./build/tomcat/webpages/WEB-INF/classes" + classpath="./build/tomcat/classes"/> + destdir="./build/tomcat/examples/WEB-INF/classes" + classpath="./build/tomcat/classes"/> + destdir="./build/tomcat/examples/jsp/plugin/applet"/> - - - - - + + + + + dest="./dist/tomcat/webpages"/> + dest="./dist/tomcat/examples"/> + dest="./dist/tomcat/src/javax"/> + dest="./dist/tomcat/lib/xml.jar"/> + dest="./dist/tomcat/startserver"/> + dest="./dist/tomcat/startserver.bat"/> + dest="./dist/tomcat/stopserver"/> + dest="./dist/tomcat/stopserver.bat"/> + dest="./dist/tomcat/server.xml"/> + dest="./dist/tomcat/etc/server.xml"/> + dest="./dist/tomcat/etc/server.dtd"/> + dest="./dist/tomcat/etc/web.xml"/> + dest="./dist/tomcat/etc/web.dtd"/> + dest="./dist/tomcat/LICENSE"/> + dest="./dist/tomcat/README"/> + dest="./dist/tomcat/FAQ"/> + dest="./dist/tomcat/etc/SimpleStartup.java"/> + destdir="./build/tomcat/webpages/WEB-INF/classes" + classpath="./build/tomcat/classes"/> + destdir="./dist/tomcat/examples/WEB-INF/classes" + classpath="./build/tomcat/classes"/> + destdir="./dist/tomcat/examples/jsp/plugin/applet"/> - - - - - - - + + + + + dest="./test/tomcat/webpages"/> + dest="./test/tomcat/runtest"/> + dest="./test/tomcat/runtest.bat"/> + dest="./test/tomcat/server.xml"/> + dest="./test/tomcat/testlist.txt"/> + dest="./test/tomcat/lib/moo.jar"/> + destdir="./test/tomcat/classes" + classpath="./dist/tomcat/servlet.jar:./dist/tomcat/webserver.jar:./src/lib/moo.jar"/> + destdir="./test/tomcat/webpages/WEB-INF/classes" + classpath="./dist/tomcat/lib/servlet.jar"/> - - + + - + - - - + + + 1.2 +15 -41 jakarta-tomcat/README Index: README =================================================================== RCS file: /home/cvs/jakarta-tomcat/README,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- README 1999/10/09 00:19:57 1.1 +++ README 1999/10/12 22:43:06 1.2 @@ -1,11 +1,3 @@ -$Id: README,v 1.1 1999/10/09 00:19:57 duncan Exp $ - -PROJECT TOMCAT SOURCE TREE (AKA JSDK + JSP) -=========================================== - -This is the source code tree for Tomcat, the next generation Java(tm) -Servlet and JavaServer Pages Reference Implementation. - How to Build ------------ @@ -15,11 +7,9 @@ java com.sun.ant.Main -To build, execute the either of the following commands in this -directory: +To build, execute the following command in this directory: - (unix)% compile - (dos)> doscompile + build This will build Tomcat into a build directory located in this directory. @@ -27,15 +17,14 @@ need to up the initial environment of your command prompt window. To build a 'distribution' build (without the tests, and with all the -classes jarrd up nice) execute: +classes jarred up nice) execute: - (unix)% compile dist - (dos)> doscompile dist + build dist To clean out the build (removes the build dir): + + build clean - (unix)% compile clean - (dos)> doscompile clean Running the Build ----------------- @@ -43,46 +32,31 @@ Two scripts are provided for starting and stopping the server. To start the server: - (unix)% compile - (unix)% cd build - (unix)% startserver - - (dos)> compile - (dos)> cd build - (dos)> startsvr + cd build + cd tomcat + startserver To stop the server: - (unix)% stopserver - (dos)> stopsvr + stopserver + Testing the Build ----------------- We have started a set of 'quick tests' that test out various parts of Tomcat. In order to build and run tests, do the following: - (dos)> compile test - (dos)> cd test - (dos)> runtests - - (unix)% compile test - (unix)% cd test - (unix)% runtests + build test + cd test + runtests BEFORE COMMITTING CHANGES ------------------------- -You must, MUST do a `compile clean;compile` to make sure a clean +You must, MUST do a `build clean;build` to make sure a clean workspace builds. Also, you must, MUST run the tests. All tests must pass before checking in code. Yes, we just started adding tests, but as time goes on, this will be our sanity check. - -James Duncan Davidson -duncan@eng.sun.com - - - -