jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r587213 - in /jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement: ./ src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/
Date Mon, 22 Oct 2007 19:27:00 GMT
Author: clombart
Date: Mon Oct 22 12:26:59 2007
New Revision: 587213

URL: http://svn.apache.org/viewvc?rev=587213&view=rev
Log:
Drop Jeceira dependency
Minor changes in the code

Removed:
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/JeceiraRepositorySession.java
Modified:
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/pom.xml
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/JackrabbitRepositorySession.java
    jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/RepositorySessionFactory.java

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/pom.xml?rev=587213&r1=587212&r2=587213&view=diff
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/pom.xml (original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/pom.xml Mon Oct 22
12:26:59 2007
@@ -54,7 +54,26 @@
 			<artifactId>jackrabbit-ocm</artifactId>
 			<version>1.4-SNAPSHOT</version>
 		</dependency>
-
+		<dependency>
+			<groupId>org.apache.jackrabbit</groupId>
+			<artifactId>jackrabbit-core</artifactId>
+			<version>1.4-SNAPSHOT</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.jackrabbit</groupId>
+			<artifactId>jackrabbit-jcr-commons</artifactId>
+			<version>1.4-SNAPSHOT</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.lucene</groupId>
+			<artifactId>lucene-core</artifactId>
+			<version>2.2.0</version>
+		</dependency>
+		 <dependency>
+		      <groupId>org.slf4j</groupId>
+		      <artifactId>slf4j-api</artifactId>
+	    </dependency>
+	    
 		<!-- Test -->
 		<dependency>
 			<groupId>xerces</groupId>
@@ -74,13 +93,18 @@
 			<version>10.1.1.0</version>
 			<scope>test</scope>
 		</dependency>
-
 		<dependency>
 			<groupId>junit</groupId>
 			<artifactId>junit</artifactId>
 			<version>3.8.1</version>
 			<scope>test</scope>
 		</dependency>
+		<dependency>
+    	  <groupId>org.slf4j</groupId>
+	      <artifactId>slf4j-log4j12</artifactId>	      
+	      <scope>test</scope>
+	    </dependency>	
+		
 	</dependencies>
 	<build>
 		<plugins>

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/JackrabbitRepositorySession.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/JackrabbitRepositorySession.java?rev=587213&r1=587212&r2=587213&view=diff
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/JackrabbitRepositorySession.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/JackrabbitRepositorySession.java
Mon Oct 22 12:26:59 2007
@@ -20,7 +20,6 @@
 import javax.jcr.Session;
 
 import org.apache.jackrabbit.ocm.nodemanagement.RepositorySession;
-import org.apache.jackrabbit.ocm.repository.RepositoryUtil;
 
 /** This class is the Jackrabbit JCR Repository session implementation.
  *

Modified: jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/RepositorySessionFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/RepositorySessionFactory.java?rev=587213&r1=587212&r2=587213&view=diff
==============================================================================
--- jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/RepositorySessionFactory.java
(original)
+++ jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-nodemanagement/src/main/java/org/apache/jackrabbit/ocm/nodemanagement/impl/RepositorySessionFactory.java
Mon Oct 22 12:26:59 2007
@@ -25,8 +25,7 @@
  */
 public class RepositorySessionFactory {
     
-    public static final String JACKRABBIT = "jackrabbit";
-    public static final String JECEIRA = "jeceira";
+    public static final String JACKRABBIT = "jackrabbit";   
 
     private static Session session;
     
@@ -57,10 +56,7 @@
                 {
                     session = new JackrabbitRepositorySession().getSession(username, password,
configuration);
                 }
-                else if (jcrRepository.equals(JECEIRA)) 
-                {
-                    session = new JeceiraRepositorySession().getSession(username, password,
configuration); 
-                }
+                
             }
         }
 



Mime
View raw message