You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by si...@apache.org on 2006/12/13 13:55:44 UTC

svn commit: r486631 - in /lucene/java/trunk/contrib/gdata-server: gdata-build/gom-build.xml src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java

Author: simonw
Date: Wed Dec 13 04:55:43 2006
New Revision: 486631

URL: http://svn.apache.org/viewvc?view=rev&rev=486631
Log:
Fixed compile error in GDataIndexWriterTest as IndexWriter has not commitTimeout setter anymore.
Fixed misspelled path in gom-build.xml

Modified:
    lucene/java/trunk/contrib/gdata-server/gdata-build/gom-build.xml
    lucene/java/trunk/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java

Modified: lucene/java/trunk/contrib/gdata-server/gdata-build/gom-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/gdata-server/gdata-build/gom-build.xml?view=diff&rev=486631&r1=486630&r2=486631
==============================================================================
--- lucene/java/trunk/contrib/gdata-server/gdata-build/gom-build.xml (original)
+++ lucene/java/trunk/contrib/gdata-server/gdata-build/gom-build.xml Wed Dec 13 04:55:43 2006
@@ -25,7 +25,7 @@
     	<available file="${build.dir}/${final.name}.jar" property="gdata.core.jar.present"/>
 		<fail if="${gdata.core.jar.present}" message="Must gdata core jar first. run build.xml - 'jar-core' task"/>
 		<path id="gom.build.path">
-	    	<fileset id="gom-jars" dir="${gdata.lib.dir}">
+	    	<fileset id="gom-jars" dir="${gdata.external.lib.dir}">
 	   			<include name="stax-1.1.2-dev.jar"/>
 	   			<include name="stax-api-1.0.1.jar"/>
 	   		</fileset>

Modified: lucene/java/trunk/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java?view=diff&rev=486631&r1=486630&r2=486631
==============================================================================
--- lucene/java/trunk/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java (original)
+++ lucene/java/trunk/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java Wed Dec 13 04:55:43 2006
@@ -68,7 +68,8 @@
         
         writer = new GDataIndexWriter(new RAMDirectory(),true,this.schemaPerFielAnalyzer);
         assertTrue(writer.getAnalyzer().getClass() == PerFieldAnalyzerWrapper.class);
-        assertEquals(VALUE_GT_DEFAULT_LONG,writer.getCommitLockTimeout());
+        //TODO fix this - index writer has no commitlocktimeout setter anymore (lockless commits)
+//        assertEquals(VALUE_GT_DEFAULT_LONG,writer.getCommitLockTimeout());
         assertEquals(VALUE_GT_DEFAULT_LONG,writer.getWriteLockTimeout());
         assertEquals(VALUE_GT_DEFAULT_INT,writer.getMaxBufferedDocs());
         assertEquals(VALUE_GT_DEFAULT_INT,writer.getMaxMergeDocs());