vmassol 2003/12/06 02:38:41
Modified: framework/src/java/share/org/apache/cactus/configuration
BaseConfiguration.java
documentation/docs/xdocs changes.xml
Log:
Tried to remove dependency on commons-httpclient in server-side code. Thanks to
Kazuhito SUGURI [EMAIL PROTECTED]
Revision Changes Path
1.7 +9 -5
jakarta-cactus/framework/src/java/share/org/apache/cactus/configuration/BaseConfiguration.java
Index: BaseConfiguration.java
===================================================================
RCS file:
/home/cvs/jakarta-cactus/framework/src/java/share/org/apache/cactus/configuration/BaseConfiguration.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- BaseConfiguration.java 19 Oct 2003 18:06:47 -0000 1.6
+++ BaseConfiguration.java 6 Dec 2003 10:38:41 -0000 1.7
@@ -56,7 +56,6 @@
*/
package org.apache.cactus.configuration;
-import org.apache.cactus.client.connector.http.HttpClientConnectionHelper;
import org.apache.cactus.util.ChainedRuntimeException;
/**
@@ -87,11 +86,16 @@
"cactus.connectionHelper.classname";
/**
- * Default [EMAIL PROTECTED]
org.apache.cactus.client.connector.http.ConnectionHelper}
- * to use.
+ * Default HTTP connection class to use.
+ *
+ * Note: We are using a string to point to the class to use. The reason is
+ * that this class is only needed on the client side. Using an explicit
+ * <code>HttpClientConnectionHelper.class.getName()</code> would require
+ * the implementation library (e.g commons-httpclient) to be also present
+ * on the server side classpath.
*/
public static final String DEFAULT_CACTUS_CONNECTION_HELPER_CLASSNAME =
- HttpClientConnectionHelper.class.getName();
+ "org.apache.cactus.client.connector.http.HttpClientConnectionHelper";
/**
* Name of the Cactus property for defining an initializer (i.e. a class
1.146 +4 -0 jakarta-cactus/documentation/docs/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/changes.xml,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- changes.xml 23 Nov 2003 21:31:34 -0000 1.145
+++ changes.xml 6 Dec 2003 10:38:41 -0000 1.146
@@ -68,6 +68,10 @@
</devs>
<release version="1.6dev" date="in CVS">
+ <action dev="VMA" type="fix" due-to="Kazuhito SUGURI" due-to-email="[EMAIL
PROTECTED]">
+ Prevent requiring <code>commons-httpclient</code> jar to be present
+ on the server-side classpath.
+ </action>
<action dev="VMA" type="add">
Added the Maven plugin. It was formerly hosted in the Maven project's
own CVS. It is now in the Cactus CVS and is part of the Cactus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]