Revision: 847
          http://jwebunit.svn.sourceforge.net/jwebunit/?rev=847&view=rev
Author:   henryju
Date:     2010-10-05 11:30:35 +0000 (Tue, 05 Oct 2010)

Log Message:
-----------
Replaced log4j by logback for test suite.

Modified Paths:
--------------
    trunk/jwebunit-htmlunit-plugin/pom.xml
    trunk/jwebunit-selenium-plugin/pom.xml
    trunk/pom.xml

Added Paths:
-----------
    trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml

Removed Paths:
-------------
    trunk/jwebunit-commons-tests/src/main/resources/log4j.properties

Deleted: trunk/jwebunit-commons-tests/src/main/resources/log4j.properties
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/log4j.properties    
2010-10-05 10:30:48 UTC (rev 846)
+++ trunk/jwebunit-commons-tests/src/main/resources/log4j.properties    
2010-10-05 11:30:35 UTC (rev 847)
@@ -1,45 +0,0 @@
-#
-# Copyright (c) 2010, JWebUnit team.
-#
-# This file is part of JWebUnit.
-#
-# JWebUnit is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# JWebUnit is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with JWebUnit.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-log4j.rootLogger=DEBUG, consoleAppender
-
-# consoleAppender is set to be a ConsoleAppender which outputs to System.out. 
-log4j.appender.consoleAppender=org.apache.log4j.ConsoleAppender
-log4j.appender.consoleAppender.Target=System.out
-log4j.appender.consoleAppender.layout=org.apache.log4j.PatternLayout
-log4j.appender.consoleAppender.layout.ConversionPattern=%-4r %-5p %x [%t] %15c 
: %m%n
-
-
-#jwebunit
-log4j.logger.net.sourceforge.jwebunit=ERROR
-
-#htmlunit
-log4j.logger.com.gargoylesoftware=ERROR
-log4j.logger.com.gargoylesoftware.javascript=ERROR
-
-#httpclient
-log4j.logger.org.apache.commons.httpclient=ERROR
-log4j.logger.org.apache.http=ERROR
-
-#mime4j
-log4j.logger.org.apache.james.mime4j=ERROR
-
-
-#Jetty
-log4j.logger.org.mortbay=ERROR

Added: trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml
===================================================================
--- trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml            
                (rev 0)
+++ trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml    
2010-10-05 11:30:35 UTC (rev 847)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright (c) 2010, JWebUnit team.
+
+    This file is part of JWebUnit.
+
+    JWebUnit is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Lesser General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    JWebUnit is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public License
+    along with JWebUnit.  If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<configuration>
+  <appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender">
+    <Target>System.out</Target>
+    <encoder>
+      <pattern>%d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n</pattern>
+    </encoder>
+  </appender>
+
+  <logger name="net.sourceforge.jwebunit" level="ERROR"/>
+
+  <logger name="com.gargoylesoftware" level="ERROR"/>
+  <logger name="com.gargoylesoftware.javascript" level="ERROR"/>
+
+  <logger name="org.apache.james.mime4j" level="ERROR"/>
+
+  <logger name="org.apache.commons.httpclient" level="ERROR"/>
+  <logger name="org.apache.http" level="ERROR"/>
+
+  <logger name="org.mortbay" level="ERROR"/>
+  
+  <logger name="ch.qos.logback" level="ERROR"/>
+
+  <root level="DEBUG">
+    <appender-ref ref="consoleAppender"/>
+  </root>
+</configuration>


Property changes on: 
trunk/jwebunit-commons-tests/src/main/resources/logback-test.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Modified: trunk/jwebunit-htmlunit-plugin/pom.xml
===================================================================
--- trunk/jwebunit-htmlunit-plugin/pom.xml      2010-10-05 10:30:48 UTC (rev 
846)
+++ trunk/jwebunit-htmlunit-plugin/pom.xml      2010-10-05 11:30:35 UTC (rev 
847)
@@ -70,8 +70,8 @@
             <artifactId>jcl-over-slf4j</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
         </dependency>
         <dependency>
             <groupId>javax.servlet</groupId>

Modified: trunk/jwebunit-selenium-plugin/pom.xml
===================================================================
--- trunk/jwebunit-selenium-plugin/pom.xml      2010-10-05 10:30:48 UTC (rev 
846)
+++ trunk/jwebunit-selenium-plugin/pom.xml      2010-10-05 11:30:35 UTC (rev 
847)
@@ -81,8 +81,8 @@
             <artifactId>slf4j-api</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
         </dependency>
         <dependency>
             <groupId>javax.servlet</groupId>

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml       2010-10-05 10:30:48 UTC (rev 846)
+++ trunk/pom.xml       2010-10-05 11:30:35 UTC (rev 847)
@@ -365,9 +365,9 @@
                 <version>1.6.1</version>
             </dependency>
                        <dependency>
-                               <groupId>org.slf4j</groupId>
-                               <artifactId>slf4j-log4j12</artifactId>
-                               <version>1.6.1</version>
+                               <groupId>ch.qos.logback</groupId>
+                               <artifactId>logback-classic</artifactId>
+                               <version>0.9.24</version>
                                <optional>true</optional>
                        </dependency>
                </dependencies>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to