costin 02/02/14 14:00:34
Modified: logging build.xml
Log:
Include the classpath in the available check.
Revision Changes Path
1.11 +7 -3 jakarta-commons/logging/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/logging/build.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- build.xml 14 Feb 2002 21:04:18 -0000 1.10
+++ build.xml 14 Feb 2002 22:00:34 -0000 1.11
@@ -3,7 +3,7 @@
<!--
"Logging" component of the Jakarta Commons Subproject
- $Id: build.xml,v 1.10 2002/02/14 21:04:18 costin Exp $
+ $Id: build.xml,v 1.11 2002/02/14 22:00:34 costin Exp $
-->
@@ -140,9 +140,11 @@
description="Compile shareable components">
<available property="jdk.1.4.present"
classname="java.util.logging.Logger"/>
- <available property="log4j.present"
- classname="org.apache.log4j.Category"/>
+ <available classname="org.apache.log4j.Category"
+ classpathref="compile.classpath"
+ property="log4j.present"/>
<available property="logkit.present"
+ classpathref="compile.classpath"
classname="org.apache.log.Logger"/>
<echo message="jdk.1.4.present=${jdk.1.4.present}"/>
@@ -159,6 +161,8 @@
<exclude name="org/apache/commons/logging/impl/Jdk14Logger.java"
unless="jdk.1.4.present"/>
<exclude name="org/apache/commons/logging/impl/Log4JCategoryLog.java"
+ unless="log4j.present"/>
+ <exclude name="org/apache/commons/logging/impl/Log4jFactory.java"
unless="log4j.present"/>
<exclude name="org/apache/commons/logging/impl/LogKitLogger.java"
unless="logkit.present"/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>