You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-cvs@jakarta.apache.org by ce...@locus.apache.org on 2000/12/21 01:30:32 UTC
cvs commit: jakarta-log4j/org/apache/log4j/nt NTEventLogAppender.java make.bat
ceki 00/12/20 16:30:32
Modified: . FAQ.html INSTALL
org/apache/log4j/nt NTEventLogAppender.java make.bat
Log:
The NTEventLogAppender now works under JDK 1.1.x. Updated the FAQ and INSTALL to reflect this good news.
Revision Changes Path
1.2 +19 -8 jakarta-log4j/FAQ.html
Index: FAQ.html
===================================================================
RCS file: /home/cvs/jakarta-log4j/FAQ.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FAQ.html 2000/12/14 01:46:05 1.1
+++ FAQ.html 2000/12/21 00:30:29 1.2
@@ -103,18 +103,29 @@
<p><li>Log4j is JDK 1.1.x compatible.
-<p><li>The <code>org.log4j.xml</code> package requires the DOM level 2
-API. The <code>configure(filename)</code> method in
-<code>org.log4j.DOMConfigurator</code> requires a <a
-href="http://java.sun.com/xml/">JAXP</a> and DOM Level 2 compatible
-XML parser. We recommend the <a href="http://xml.apache.org/">Apache
-Xerces</a> parser.
+<p><li>The DOMConfigurator is based on the DOM Level 1 API. The
+ DOMConfigurator.configure(Element) method will work with any
+ XML parser that will pass it a DOM tree.
+
+ <p>The DOMConfigurator.configure(String filename) method and its
+ variants require a JAXP compatible XML parser, for example <a
+ href="http://xml.apache.org/">Xerces</a>. Similarly, compiling the
+ DOMConfigurator requires the presence of a JAXP parser in the
+ classpath.
+
+<p><li>The <code>org.apache.log4j.net.SMTPAppender</code> relies on
+ the <a href="http://java.sun.com/products/javamail/">JavaMail
+ API</a>. It has been tested with JavaMail API version 1.2. The
+ JavaMail API requires the <a
+ href="http://java.sun.com/beans/glasgow/jaf.html">JavaBeans
+ Activation Framework</a> package.
+
+<p><li>The <code>org.apache.log4j.gui.TextPaneAppender</code> requries Swing.
<p><li>log4j test code relies on the <a
href="http://www.junit.org">JUnit</a> testing framework.
-<p><li>The <code>org.log4j.gui.TextPaneAppender</code> requries Swing.
-
+
</ul>
1.4 +18 -19 jakarta-log4j/INSTALL
Index: INSTALL
===================================================================
RCS file: /home/cvs/jakarta-log4j/INSTALL,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- INSTALL 2000/12/14 15:41:07 1.3
+++ INSTALL 2000/12/21 00:30:29 1.4
@@ -44,27 +44,20 @@
The log4j distribution comes with pre-compiled classes. Log4j is based
on JDK 1.1 with the following exceptions:
+ ---------------------
Package org.log4j.xml
---------------------
-
- This package requires DOM Level 2 Java bindings. These can be
- obtained from
-
- http://www.w3.org/TR/1999/WD-DOM-Level-2-19990923/java-binding.html
-
- To actually use the DOMConfigurator you will need an XML parser
- based on the DOM interface. You can use the Xerces parser from
- http://xml.apache.org/ which also includes the DOM level 2 Java
- language bindings.
-
- The DOMConfigurator needs a JAXP and DOM Level 2 compatible parser
- to compile. We recommend the Apache Xerces compiler.
- TextPaneAppender
- ----------------
-
- The TextPaneAppender is based on Swing.
+ The DOMConfigurator is based on the DOM Level 1 API. The
+ DOMConfigurator.configure(Element) method will work with any
+ XML parser that will pass it a DOM tree.
+
+ The DOMConfigurator.configure(String filename) method and its variants
+ require a JAXP compatible XMLparser, for example the Apache Xerces
+ parser. Compiling the DOMConfigurator requires the presence of a
+ JAXP parser in the classpath.
+ ------------
SMTPAppender
------------
@@ -78,7 +71,13 @@
http://java.sun.com/beans/glasgow/jaf.html
+ ----------------
+ TextPaneAppender
+ ----------------
+
+ The TextPaneAppender is based on Swing.
+ -----------------------
JUnit testing framework
-----------------------
@@ -88,7 +87,7 @@
http://www.junit.org
-
+==============
Building log4j
==============
@@ -102,4 +101,4 @@
create a make.loc file in the make directory. See the files
make/README and make/TUTORIAL for further details.
-In case of problems please contact "Ceki Gulcu" <cg...@urbanet.ch>.
+In case of problems please contact "Ceki Gulcu" <ce...@apache.org>.
1.4 +1 -1 jakarta-log4j/org/apache/log4j/nt/NTEventLogAppender.java
Index: NTEventLogAppender.java
===================================================================
RCS file: /home/cvs/jakarta-log4j/org/apache/log4j/nt/NTEventLogAppender.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- NTEventLogAppender.java 2000/12/20 15:57:27 1.3
+++ NTEventLogAppender.java 2000/12/21 00:30:31 1.4
@@ -17,7 +17,7 @@
Append to the NT event log system.
<p><b>WARNING</b> This appender can only be installed and used on a
- Windows system under <b>JDK 1.2</b> or above.
+ Windows system.
<p>Do not forget to place the file NTEventLogAppender.dll in a
directory that is on the PATH of the Windows system. Otherwise, you
1.3 +2 -2 jakarta-log4j/org/apache/log4j/nt/make.bat
Index: make.bat
===================================================================
RCS file: /home/cvs/jakarta-log4j/org/apache/log4j/nt/make.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- make.bat 2000/12/20 15:57:27 1.2
+++ make.bat 2000/12/21 00:30:31 1.3
@@ -9,8 +9,8 @@
RC -r -fo EventLogCategories.res EventLogCategories.rc
-#SET JDK=c:\java\jdk1.1.7B\
-SET JDK=c:\java\jdk1.3\
+SET JDK=c:\java\jdk1.1.7B\
+#SET JDK=c:\java\jdk1.3\
@echo "Compiling"
CL /nologo /I %JDK%\include /I %JDK%\include\win32 /MD /W3 /GX /O2 /FD /c /D "NDEBUG" -DWINVER=0x400 -D_DLL -DWIN32 /D "_WINDOWS" nteventlog.cpp