craigmcc 00/11/27 14:46:08
Modified: src/doc/appdev Tag: tomcat_32 source.html
src/doc/appdev/sample Tag: tomcat_32 build.bat build.sh
Log:
Update the Application Developer's Guide and sample scripts to by default
include the JAXP parser classes on the compiler classpath.
Revision Changes Path
No revision
No revision
1.2.4.2 +6 -4 jakarta-tomcat/src/doc/appdev/source.html
Index: source.html
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/source.html,v
retrieving revision 1.2.4.1
retrieving revision 1.2.4.2
diff -u -r1.2.4.1 -r1.2.4.2
--- source.html 2000/11/06 04:53:51 1.2.4.1
+++ source.html 2000/11/27 22:45:49 1.2.4.2
@@ -202,16 +202,17 @@
line MAKE tool (which processes a makefile) will recognize this approach.
<p>On UNIX-based systems, the following script should be saved as file
-<code>build</code> in the project source directory, with file permissions
+<code>build.sh</code> in the project source directory, with file permissions
that make it executable, and customized as required:
<pre>
#!/bin/sh
# build -- Build Script for the "Hello, World" Application
-# $Id: source.html,v 1.2.4.1 2000/11/06 04:53:51 craigmcc Exp $
+# $Id: source.html,v 1.2.4.2 2000/11/27 22:45:49 craigmcc Exp $
# Identify the custom class path components we need
CP=$TOMCAT_HOME/lib/ant.jar:$TOMCAT_HOME/lib/servlet.jar
+CP=$CP:$TOMCAT_HOME/lib/jaxp.jar:$TOMCAT_HOME/lib/parser.jar
CP=$CP:$JAVA_HOME/lib/tools.jar
# Execute ANT to perform the requested build target
@@ -220,18 +221,19 @@
</pre>
<p>On Windows-based systems, the following script should be saved as file
-<code>build.bat</code> in the project source directory, and customzed
+<code>build.bat</code> in the project source directory, and customized
as required:
<pre>
@echo off
rem build.bat -- Build Script for the "Hello, World" Application
-rem $Id: source.html,v 1.2.4.1 2000/11/06 04:53:51 craigmcc Exp $
+rem $Id: source.html,v 1.2.4.2 2000/11/27 22:45:49 craigmcc Exp $
set _CP=%CP%
rem Identify the custom class path components we need
set CP=%TOMCAT_HOME%\lib\ant.jar;%TOMCAT_HOME%\lib\servlet.jar
+set CP=%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
set CP=%CP%;%JAVA_HOME%\lib\tools.jar
rem Execute ANT to perform the requird build target
No revision
No revision
1.3.2.2 +2 -1 jakarta-tomcat/src/doc/appdev/sample/build.bat
Index: build.bat
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/sample/build.bat,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -r1.3.2.1 -r1.3.2.2
--- build.bat 2000/11/06 04:53:54 1.3.2.1
+++ build.bat 2000/11/27 22:45:57 1.3.2.2
@@ -1,11 +1,12 @@
@echo off
rem build.bat -- Build Script for the "Hello, World" Application
-rem $Id: build.bat,v 1.3.2.1 2000/11/06 04:53:54 craigmcc Exp $
+rem $Id: build.bat,v 1.3.2.2 2000/11/27 22:45:57 craigmcc Exp $
set _CP=%CP%
rem Identify the custom class path components we need
set CP=%TOMCAT_HOME%\lib\ant.jar;%TOMCAT_HOME%\lib\servlet.jar
+set CP=%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
set CP=%CP%;%JAVA_HOME%\lib\tools.jar
rem Execute ANT to perform the requird build target
1.1.2.2 +2 -1 jakarta-tomcat/src/doc/appdev/sample/Attic/build.sh
Index: build.sh
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/sample/Attic/build.sh,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- build.sh 2000/11/12 00:18:19 1.1.2.1
+++ build.sh 2000/11/27 22:45:59 1.1.2.2
@@ -1,9 +1,10 @@
#!/bin/sh
# build.sh -- Build Script for the "Hello, World" Application
-# $Id: build.sh,v 1.1.2.1 2000/11/12 00:18:19 craigmcc Exp $
+# $Id: build.sh,v 1.1.2.2 2000/11/27 22:45:59 craigmcc Exp $
# Identify the custom class path components we need
CP=$TOMCAT_HOME/lib/ant.jar:$TOMCAT_HOME/lib/servlet.jar
+CP=$CP:$TOMCAT_HOME/lib/jaxp.jar:$TOMCAT_HOME/lib/parser.jar
CP=$CP:$JAVA_HOME/lib/tools.jar
# Execute ANT to perform the requested build target