You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/09/19 12:23:34 UTC

DO NOT REPLY [Bug 12807] New: - [PATCH] x 2 Update build.xml to use commons-logging.jar

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12807>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12807

[PATCH] x 2 Update build.xml to use commons-logging.jar

           Summary: [PATCH] x 2 Update build.xml to use commons-logging.jar
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Latka
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: janekdb@yahoo.co.uk


The CVS version of httpclient uses LogFactory from commons-logging.jar. These
patches update build.xml and build.properties to include commons-logging.jar in
the classpath for the 'test' target. Without commons-logging.jar in the
classpath the class SessionImpl would fail to load when 'ant test' was executed
because SessionImpl is a client of HttpState, which is a client of LogFactory.




Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-commons/latka/build.xml,v
retrieving revision 1.37
diff -u -r1.37 build.xml
--- build.xml	9 Jul 2002 03:00:50 -0000	1.37
+++ build.xml	19 Sep 2002 10:11:36 -0000
@@ -96,6 +96,7 @@
             <pathelement location="${jaxen.jar}"/>
<pathelement location="${saxpath.jar}"/>
<pathelement location="${log4j.jar}"/>
+            <pathelement location="${commons-logging.jar}"/>
<pathelement location="${httpclient.jar}"/>
<pathelement location="${sax2.jar}"/>
<pathelement location="${jnet.jar}"/>




Index: build.properties.sample
===================================================================
RCS file: /home/cvspublic/jakarta-commons/latka/build.properties.sample,v
retrieving revision 1.20
diff -u -r1.20 build.properties.sample
--- build.properties.sample	21 Mar 2002 08:10:07 -0000	1.20
+++ build.properties.sample	19 Sep 2002 10:12:05 -0000
@@ -12,6 +12,8 @@
 httpclient.jar=/java/lib/commons-httpclient.jar
 # from log4j (http://jakarta.apache.org/log4j/)
 log4j.jar=/java/lib/log4j.jar
+# from commons-logging (http://jakarta.apache.org/commons/logging)
+commons-logging.jar=/java/lib/commons-logging.jar
 # from saxproject (http://www.saxproject.org)
 sax2.jar=/java/lib/sax2.jar
 # from jsse (http://java.sun.com/products/jsse)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>