You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by cm...@apache.org on 2003/05/01 12:52:29 UTC
cvs commit: jakarta-cactus/documentation/docs/xdocs/integration/browser howto_tomcat.xml
cmlenz 2003/05/01 03:52:29
Modified: documentation/docs/xdocs/integration/browser
howto_tomcat.xml
Log:
$TOMCAT_HOME -> [tomcat-root]
Revision Changes Path
1.3 +9 -9 jakarta-cactus/documentation/docs/xdocs/integration/browser/howto_tomcat.xml
Index: howto_tomcat.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/integration/browser/howto_tomcat.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- howto_tomcat.xml 30 Apr 2003 14:08:47 -0000 1.2
+++ howto_tomcat.xml 1 May 2003 10:52:28 -0000 1.3
@@ -57,7 +57,7 @@
<p>
Download <link href="http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/">Tomcat</link>
4.0 or greater and unzip it in any directory. Let's call this directory
- <code>$TOMCAT_HOME</code>.
+ <code>[tomcat-root]</code>.
</p>
</section>
@@ -68,7 +68,7 @@
directory in the zip.
</p>
<p>
- Copy the following jars to <code>$TOMCAT_HOME/common/lib</code>:
+ Copy the following jars to <code>[tomcat-root]/common/lib</code>:
</p>
<ul>
<li>
@@ -96,7 +96,7 @@
<section title="Step 3: Modify Tomcat web.xml">
<p>
- Edit <code>$TOMCAT_HOME/conf/web.xml</code> and add the following at
+ Edit <code>[tomcat-root]/conf/web.xml</code> and add the following at
the beginning of the file, after the <code><webapp></code> tag:
</p>
<source><![CDATA[
@@ -148,7 +148,7 @@
</p>
<source><![CDATA[
-$TOMCAT_HOME/webapps
+[tomcat-root]/webapps
|_ test
|_ WEB-INF
|_ classes
@@ -157,7 +157,7 @@
<p>
Then, create the following <code>SampleServlet.java</code> java source
file, compile it and copy the resulting .class file in
- <code>$TOMCAT_HOME/webapps/test/WEB-INF/classes</code>. Note that
+ <code>[tomcat-root]/webapps/test/WEB-INF/classes</code>. Note that
you can download the pre-compiled class file
<link href="site:code_sample_servlet">here</link>.
</p>
@@ -187,7 +187,7 @@
We're now read to create our first Cactus test case. Create the
following <code>TestSampleServlet.java</code> java source file, compile
it and copy the resulting .class file in
- <code>$TOMCAT_HOME/webapps/test/WEB-INF/classes</code>. Note that
+ <code>[tomcat-root]/webapps/test/WEB-INF/classes</code>. Note that
you can download the pre-compiled class file
<link href="site:code_test_sample_servlet">here</link>.
</p>
@@ -231,8 +231,8 @@
<p>
Time to enjoy our hard work ! Start Tomcat by running
- <code>$TOMCAT_HOME/bin/startup.bat</code> (for windows) or
- <code>$TOMCAT_HOME/bin/startup.sh</code> (for unix).
+ <code>[tomcat-root]/bin/startup.bat</code> (for windows) or
+ <code>[tomcat-root]/bin/startup.sh</code> (for unix).
</p>
<p>
Open a browser and point it at
@@ -251,7 +251,7 @@
worry there is a solution. Grab the following
<link href="site:code_junit_noframes">junit-noframes.xsl</link>
stylesheet used to format JUnitReport Ant task results and drop it in
- <code>$TOMCAT_HOME/webapps/test</code>. Then, open a browser and type
+ <code>[tomcat-root]/webapps/test</code>. Then, open a browser and type
<code>http://localhost:8080/test/ServletTestRunner?suite=TestSampleServlet&xsl=junit-noframes.xsl</code>.
You should now see the following:
</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org