You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by og...@apache.org on 2003/06/04 08:16:04 UTC
cvs commit: jakarta-commons/httpclient/docs BUILDING.txt TESTING.txt
oglueck 2003/06/03 23:16:04
Modified: httpclient/docs BUILDING.txt TESTING.txt
Log:
slightly improved docs
Revision Changes Path
1.5 +10 -5 jakarta-commons/httpclient/docs/BUILDING.txt
Index: BUILDING.txt
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/docs/BUILDING.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BUILDING.txt 8 Aug 2002 18:21:55 -0000 1.4
+++ BUILDING.txt 4 Jun 2003 06:16:04 -0000 1.5
@@ -7,8 +7,13 @@
(version 1.2 or later). It can obtained from:
http://jakarta.apache.org/ant/
+
+Your Ant installation is ready when you can run Ant from the httpclient
+project directory:
-You'll also need:
+ $ ant
+
+To build the project you'll also need:
* an implementation of the Java Secure Socket Extension,
a standard Java extension available from:
@@ -29,14 +34,14 @@
To build a jar:
-$ ant dist
+ $ ant dist
To build the API documentation:
-$ ant javadoc
+ $ ant javadoc
To build the jar and API doc at once:
-$ ant dist
+ $ ant dist
Run ant -projecthelp to see a list of all available targets.
1.7 +20 -7 jakarta-commons/httpclient/docs/TESTING.txt
Index: TESTING.txt
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/docs/TESTING.txt,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TESTING.txt 2 Sep 2002 21:43:49 -0000 1.6
+++ TESTING.txt 4 Jun 2003 06:16:04 -0000 1.7
@@ -42,10 +42,18 @@
Many of the JUnit tests make use of a web application developed
specifically for testing HTTP client. To build the web
application, you'll need the Servlet classes (e.g., j2ee.jar
-or servlet.jar). You can obtain the Servlet API from:
+or servlet.jar). You can either obtain the Servlet API from:
http://java.sun.com/products/servlets
+or use the one shipping with Tomcat under:
+
+ <tomcat-home>/common/lib/servlet.jar
+
+Note that you need a current version (2.3) of the Servlet API
+like one shipping with a current Tomcat release. Trying to use
+an old version will result in compile failure.
+
To help the build and test process find the servlet API, you may
make a copy of the build.properties.sample file, rename to
build.properties, and modify it to reflect the location of
@@ -58,11 +66,16 @@
For testing purposes, this web application is assumed to
be running in the context "httpclienttest" on the web server
running on port 8080 on 127.0.0.1. You may change these
-assumptions by setting system properties to be passed to
-test suite. See TestWebapp for details.
+default values in your build.properties file by changing the
+properties:
+
+ httpclient.test.localHost
+ httpclient.test.localPort
+
+See TestWebapp for details.
-This web application has been tested with Tomcat 3.2 and
-4.0.
+This web application has been tested with Tomcat 3.2,
+4.0 and 4.1.
ADDING TESTS:
@@ -83,7 +96,7 @@
- use this file if the test depends upon
a local webserver (running on
${httpclient.test.localHost} and
- ${httpclient.test.localPost})
+ ${httpclient.test.localPort})
* TestWebapp.java
- use this file if the test depends upon
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org