[lsc-changes] r411 - in lsc-sample/trunk: . src/main/java/org/lsc/service

rschermesser at lsc-project.org rschermesser at lsc-project.org
Sat Nov 7 22:52:07 CET 2009


Author: rschermesser
Date: 2009-11-07 22:52:07 +0100 (Sat, 07 Nov 2009)
New Revision: 411

Modified:
   lsc-sample/trunk/pom.xml
   lsc-sample/trunk/src/main/java/org/lsc/service/OrganizationalUnitJdbcService.java
   lsc-sample/trunk/src/main/java/org/lsc/service/StructureJdbcService.java
Log:
Auto migration with sfl4j tools

Modified: lsc-sample/trunk/pom.xml
===================================================================
--- lsc-sample/trunk/pom.xml	2009-11-07 21:40:59 UTC (rev 410)
+++ lsc-sample/trunk/pom.xml	2009-11-07 21:52:07 UTC (rev 411)
@@ -131,21 +131,11 @@
             <version>2.2</version>
         </dependency>
         <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-            <version>1.1</version>
-        </dependency>
-        <dependency>
             <groupId>hsqldb</groupId>
             <artifactId>hsqldb</artifactId>
             <version>1.8.0.7</version>
         </dependency>
         <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>1.2.14</version>
-        </dependency>
-        <dependency>
             <groupId>commons-cli</groupId>
             <artifactId>commons-cli</artifactId>
             <version>1.0</version>
@@ -154,6 +144,7 @@
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <version>3.8.2</version>
+						<scope>test</scope>
         </dependency>
         <dependency>
             <groupId>berkeleydb</groupId>
@@ -174,7 +165,14 @@
         	<groupId>sun</groupId>
         	<artifactId>opends</artifactId>
         	<version>0.9</version>
+					<scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+            <version>1.5.8</version>
+            <type>jar</type>
+        </dependency>
     </dependencies>
     <distributionManagement>
         <repository>
@@ -204,3 +202,4 @@
 		<url>http://tools.lsc-project.org/repositories/browse/lsc/lsc-sample</url>
 	</scm>
 </project>
+

Modified: lsc-sample/trunk/src/main/java/org/lsc/service/OrganizationalUnitJdbcService.java
===================================================================
--- lsc-sample/trunk/src/main/java/org/lsc/service/OrganizationalUnitJdbcService.java	2009-11-07 21:40:59 UTC (rev 410)
+++ lsc-sample/trunk/src/main/java/org/lsc/service/OrganizationalUnitJdbcService.java	2009-11-07 21:52:07 UTC (rev 411)
@@ -53,7 +53,8 @@
 import java.util.Map;
 import java.util.Vector;
 
-import org.apache.log4j.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.lsc.objects.organizationalUnit;
 import org.lsc.objects.flat.fOrganizationalUnit;
 import org.lsc.persistence.DaoConfig;
@@ -65,7 +66,7 @@
  */
 public abstract class OrganizationalUnitJdbcService implements ISrcService {
 
-	private Logger LOGGER = Logger.getLogger(OrganizationalUnitJdbcService.class);
+	private Logger LOGGER = LoggerFactory.getLogger(OrganizationalUnitJdbcService.class);
 
 	protected SqlMapClient sqlMapper;
 	

Modified: lsc-sample/trunk/src/main/java/org/lsc/service/StructureJdbcService.java
===================================================================
--- lsc-sample/trunk/src/main/java/org/lsc/service/StructureJdbcService.java	2009-11-07 21:40:59 UTC (rev 410)
+++ lsc-sample/trunk/src/main/java/org/lsc/service/StructureJdbcService.java	2009-11-07 21:52:07 UTC (rev 411)
@@ -57,7 +57,8 @@
 
 import javax.naming.NamingException;
 
-import org.apache.log4j.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.lsc.Configuration;
 import org.lsc.LscAttributes;
 import org.lsc.beans.AbstractBean;
@@ -72,7 +73,7 @@
  */
 public final class StructureJdbcService implements ISrcService {
 
-    private Logger LOGGER = Logger.getLogger(StructureJdbcService.class);
+    private Logger LOGGER = LoggerFactory.getLogger(StructureJdbcService.class);
 
     private SqlMapClient sqlMapper;
 



More information about the lsc-changes mailing list