apache-log4j-1.2.15
所属分类:Java编程
开发工具:Java
文件大小:3600KB
下载次数:136
上传日期:2007-12-27 14:19:10
上 传 者:
zx012345
说明: apache的log4j源码,此为1.2.15最新版
(log4j of apache source, this is the latest version 1.2.15)
文件列表:
apache-log4j-1.2.15 (0, 2007-08-25)
apache-log4j-1.2.15\BUILD-INFO.txt (3565, 2007-08-25)
apache-log4j-1.2.15\build.properties.sample (2607, 2007-08-25)
apache-log4j-1.2.15\build.xml (32619, 2007-08-25)
apache-log4j-1.2.15\contribs (0, 2007-08-25)
apache-log4j-1.2.15\contribs\CekiGulcu (0, 2007-08-25)
apache-log4j-1.2.15\contribs\CekiGulcu\AppenderTable.java (7445, 2007-08-25)
apache-log4j-1.2.15\contribs\CekiGulcu\Transform.java (7221, 2007-08-25)
apache-log4j-1.2.15\contribs\CONTENTS (3264, 2007-08-25)
apache-log4j-1.2.15\contribs\EirikLygre (0, 2007-08-25)
apache-log4j-1.2.15\contribs\EirikLygre\DailyFileAppender1.java (7423, 2007-08-25)
apache-log4j-1.2.15\contribs\EirikLygre\mail-2001-01-18 (1403, 2007-08-25)
apache-log4j-1.2.15\contribs\JamesHouse (0, 2007-08-25)
apache-log4j-1.2.15\contribs\JamesHouse\LogTextPanel.java (5598, 2007-08-25)
apache-log4j-1.2.15\contribs\JamesHouse\LogTextPanelExample.java (4409, 2007-08-25)
apache-log4j-1.2.15\contribs\JamesHouse\mail-2001-01-23 (3330, 2007-08-25)
apache-log4j-1.2.15\contribs\JamesHouse\TextPanelAppender.java (6248, 2007-08-25)
apache-log4j-1.2.15\contribs\Jamie Tsao (0, 2007-08-25)
apache-log4j-1.2.15\contribs\Jamie Tsao\JMSQueueAppender.java (6966, 2007-08-25)
apache-log4j-1.2.15\contribs\Jamie Tsao\mail-2001-06-20 (1130, 2007-08-25)
apache-log4j-1.2.15\contribs\JimMoore (0, 2007-08-25)
apache-log4j-1.2.15\contribs\JimMoore\LoggingOutputStream.java (5941, 2007-08-25)
apache-log4j-1.2.15\contribs\JimMoore\mail-2001-03-12T1326 (2380, 2007-08-25)
apache-log4j-1.2.15\contribs\JimMoore\mail-2001-03-12T1454 (4532, 2007-08-25)
apache-log4j-1.2.15\contribs\JimMoore\mail-2001-03-13T0646 (7899, 2007-08-25)
apache-log4j-1.2.15\contribs\KevinSteppe (0, 2007-08-25)
apache-log4j-1.2.15\contribs\KevinSteppe\CompositeRollingAppender.java (22665, 2007-08-25)
apache-log4j-1.2.15\contribs\KevinSteppe\JDBCTest.java (2959, 2007-08-25)
apache-log4j-1.2.15\contribs\KevinSteppe\mail-2001-02-01 (14862, 2007-08-25)
apache-log4j-1.2.15\contribs\KevinSteppe\mail-2002-03-27.txt (4051, 2007-08-25)
apache-log4j-1.2.15\contribs\KitchingSimon (0, 2007-08-25)
apache-log4j-1.2.15\contribs\KitchingSimon\DatagramStringAppender.java (9729, 2007-08-25)
apache-log4j-1.2.15\contribs\KitchingSimon\DatagramStringWriter.java (4917, 2007-08-25)
apache-log4j-1.2.15\contribs\KitchingSimon\logconfig.xml (2116, 2007-08-25)
apache-log4j-1.2.15\contribs\KitchingSimon\mail-2001-02-07 (3540, 2007-08-25)
apache-log4j-1.2.15\contribs\KitchingSimon\SingleLineTracerPrintWriter.java (2317, 2007-08-25)
apache-log4j-1.2.15\contribs\KitchingSimon\udpserver.pl (2561, 2007-08-25)
apache-log4j-1.2.15\contribs\LeosLiterak (0, 2007-08-25)
apache-log4j-1.2.15\contribs\LeosLiterak\mail (1488, 2007-08-25)
apache-log4j-1.2.15\contribs\LeosLiterak\TempFileAppender.java (5673, 2007-08-25)
... ...
This directory contains a series of log4j test cases.
Prerequisites
=============
Jakarta-ant is used to compile and run the tests. Jakarta-ant version
1.4.0 was used to compile and run the tests. The optional
jakarta-ant-1.4-optional.jar file is required to be in the
$ANT_HOME/lib directory where ANT_HOME envrironment variable point to
the directory where you installed jakarta-ant.
The tests cases as well running ant require a JAXP compatible
parser. Such a parser is placed on the classpath by the shell or batch
script that invokes ant, namely $ANT_HOME/bin/ant on UNIX and
%ANT_HOME%/bin/ant.bat on Windows.
The test cases are based on Junit version 3.7+.
IMPORTANT: You need to place junit.jar in your CLASSPATH environment
variable.
The test cases perform some regular expression based filtering. This
requires jakarta-oro. Version-2.0.5 was used when writing the
tests. You need to have jakarta.oro.jar property (found in the
build.properties file) to point to jakarta-oro.jar. See the file
build.properties.sample for an example of a build.properties file.
Assuming jakarta-ant is installed properly, depending on your platform
type $ANT_HOME/bin/ant or %ANT_HOME%/bin/ant.bat to see the available
commands.
------------------------------------------------------------------------
NOTE: The compilation and execution of tests must be performed from
within the tests/ directory, that is from the directory where
this README file is located.
------------------------------------------------------------------------
Writing a new test case
=======================
Our test cases are based on junit and you should be familiar with
junit in order to write new a test case.
Some of the existing test are actually regression tests. They compare
the output of a test with the output of a previous run, a.k.a a
witness, which is purported to be correct. Since the ouput of some
tests vary on time and line numbers, before comparing the output with
a witness, we transform the output by unifying the result, for example
by removing date and time information.
To automatically run your test case with the rest of the log4j test
cases, you need to modify tests/build.xml.
近期下载者:
相关文件:
收藏者: