svn commit: r1232115 - in /ofbiz/trunk/framework/jcr: config/jackrabbit.xml lib/lucene-core-3.0.3.jar src/org/ofbiz/jcr/test/JackrabbitTests.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1232115 - in /ofbiz/trunk/framework/jcr: config/jackrabbit.xml lib/lucene-core-3.0.3.jar src/org/ofbiz/jcr/test/JackrabbitTests.java

sascharodekamp
Author: sascharodekamp
Date: Mon Jan 16 19:08:03 2012
New Revision: 1232115

URL: http://svn.apache.org/viewvc?rev=1232115&view=rev
Log:
Disable the jackrabbit searchIndex because it won't work with Lucene 3.5 yet.

Removed:
    ofbiz/trunk/framework/jcr/lib/lucene-core-3.0.3.jar
Modified:
    ofbiz/trunk/framework/jcr/config/jackrabbit.xml
    ofbiz/trunk/framework/jcr/src/org/ofbiz/jcr/test/JackrabbitTests.java

Modified: ofbiz/trunk/framework/jcr/config/jackrabbit.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/jcr/config/jackrabbit.xml?rev=1232115&r1=1232114&r2=1232115&view=diff
==============================================================================
--- ofbiz/trunk/framework/jcr/config/jackrabbit.xml (original)
+++ ofbiz/trunk/framework/jcr/config/jackrabbit.xml Mon Jan 16 19:08:03 2012
@@ -96,11 +96,12 @@
         <!--
             Search index and the file system it uses.
             class: FQN of class implementing the QueryHandler interface
-        -->
+
         <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
             <param name="path" value="${wsp.home}/index"/>
             <param name="supportHighlighting" value="true"/>
         </SearchIndex>
+        -->
     </Workspace>
 
     <!--
@@ -130,9 +131,10 @@
     <!--
         Search index for content that is shared repository wide
         (/jcr:system tree, contains mainly versions)
-    -->
+
     <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
         <param name="path" value="${rep.home}/repository/index"/>
         <param name="supportHighlighting" value="true"/>
     </SearchIndex>
+    -->
 </Repository>
\ No newline at end of file

Modified: ofbiz/trunk/framework/jcr/src/org/ofbiz/jcr/test/JackrabbitTests.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/jcr/src/org/ofbiz/jcr/test/JackrabbitTests.java?rev=1232115&r1=1232114&r2=1232115&view=diff
==============================================================================
--- ofbiz/trunk/framework/jcr/src/org/ofbiz/jcr/test/JackrabbitTests.java (original)
+++ ofbiz/trunk/framework/jcr/src/org/ofbiz/jcr/test/JackrabbitTests.java Mon Jan 16 19:08:03 2012
@@ -147,7 +147,7 @@ public class JackrabbitTests extends OFB
 
         accessor.closeAccess();
     }
-
+    /*
     public void testAccessorFileTree() throws RepositoryException {
         JcrRepositoryAccessor accessor = new JackrabbitRepositoryAccessor(userLogin);
 
@@ -155,8 +155,9 @@ public class JackrabbitTests extends OFB
         assertEquals(0, array.size()); // should be 0 because there are no
                                        // entries in the repository yet
         accessor.closeAccess();
-    }
+    }*/
 
+    /*
     public void testAccessorQuery() throws RepositoryException {
         JcrRepositoryAccessor accessor = new JackrabbitRepositoryAccessor(userLogin);
         QueryResult results = accessor.queryForRepositoryData("SELECT * FROM [rep:root]");
@@ -165,7 +166,7 @@ public class JackrabbitTests extends OFB
         assertEquals(1, results.getNodes().getSize());
 
         accessor.closeAccess();
-    }
+    }*/
 
     public void testAccessorNodeExist() throws RepositoryException {
         JcrRepositoryAccessor accessor = new JackrabbitRepositoryAccessor(userLogin);
@@ -271,7 +272,7 @@ public class JackrabbitTests extends OFB
 
     /*
      * Test the File upload
-     */
+     */ /*
     public void testCreateRepositoryFileNode() throws Exception {
         File f = new File("stopofbiz.sh");
         File f2 = new File("README");
@@ -294,8 +295,9 @@ public class JackrabbitTests extends OFB
         helper.removeContentObject("/fileHome");
 
         helper.closeContentSession();
-    }
+    }*/
 
+    /*
     public void testQuery() throws Exception {
         JcrDataHelper helper = new JackrabbitArticleHelper(userLogin);
 
@@ -314,7 +316,7 @@ public class JackrabbitTests extends OFB
 
         helper.closeContentSession();
 
-    }
+    }*/
 
     public void testSpeedTestService() throws Exception {
         Map<String, Object> context = FastMap.newInstance();