Added log4j support to the log wrapper. It is enabled if the log4j
configuration system property is set (and a particular logger is not specifically configured). git-svn-id: https://samskivert.googlecode.com/svn/trunk@2315 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -70,6 +70,10 @@
|
||||
<available property="junit.present" classpathref="classpath"
|
||||
classname="junit.framework.Test"/>
|
||||
<echo level="info">JUnit: ${junit.present}</echo>
|
||||
|
||||
<available property="log4j.present" classpathref="classpath"
|
||||
classname="org.apache.log4j.Logger"/>
|
||||
<echo level="info">log4j: ${log4j.present}</echo>
|
||||
</target>
|
||||
|
||||
<!-- combines package availability into build controls -->
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<include name="ehcache-1.2.jar"/>
|
||||
<include name="junit-3.7.jar"/>
|
||||
<include name="junit4.jar"/>
|
||||
<include name="log4j.jar"/>
|
||||
<include name="mail.jar"/>
|
||||
<include name="servlet-api.jar"/>
|
||||
<include name="velocity-1.5-dev.jar"/>
|
||||
|
||||
Reference in New Issue
Block a user