lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1195800 - in /lucene/dev/branches/lucene2621: dev-tools/eclipse/dot.classpath solr/contrib/analysis-extras/src/test/org/apache/solr/schema/TestICUCollationField.java
Date Tue, 01 Nov 2011 03:45:24 GMT
Author: rmuir
Date: Tue Nov  1 03:45:24 2011
New Revision: 1195800

URL: http://svn.apache.org/viewvc?rev=1195800&view=rev
Log:
LUCENE-3490: reorder classpath so (hopeefully) tests work from eclipse

Modified:
    lucene/dev/branches/lucene2621/dev-tools/eclipse/dot.classpath
    lucene/dev/branches/lucene2621/solr/contrib/analysis-extras/src/test/org/apache/solr/schema/TestICUCollationField.java

Modified: lucene/dev/branches/lucene2621/dev-tools/eclipse/dot.classpath
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene2621/dev-tools/eclipse/dot.classpath?rev=1195800&r1=1195799&r2=1195800&view=diff
==============================================================================
--- lucene/dev/branches/lucene2621/dev-tools/eclipse/dot.classpath (original)
+++ lucene/dev/branches/lucene2621/dev-tools/eclipse/dot.classpath Tue Nov  1 03:45:24 2011
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-	<classpathentry kind="src" path="lucene/src/java"/>
-	<classpathentry kind="src" path="lucene/src/resources"/>
 	<classpathentry kind="src" path="lucene/src/test-framework/java"/>
 	<classpathentry kind="src" path="lucene/src/test-framework/resources"/>
+	<classpathentry kind="src" path="lucene/src/java"/>
+	<classpathentry kind="src" path="lucene/src/resources"/>
 	<classpathentry kind="src" path="lucene/src/test"/>
 	<classpathentry kind="src" path="lucene/contrib/demo/src/java"/>
 	<classpathentry kind="src" path="lucene/contrib/demo/src/resources"/>

Modified: lucene/dev/branches/lucene2621/solr/contrib/analysis-extras/src/test/org/apache/solr/schema/TestICUCollationField.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene2621/solr/contrib/analysis-extras/src/test/org/apache/solr/schema/TestICUCollationField.java?rev=1195800&r1=1195799&r2=1195800&view=diff
==============================================================================
--- lucene/dev/branches/lucene2621/solr/contrib/analysis-extras/src/test/org/apache/solr/schema/TestICUCollationField.java
(original)
+++ lucene/dev/branches/lucene2621/solr/contrib/analysis-extras/src/test/org/apache/solr/schema/TestICUCollationField.java
Tue Nov  1 03:45:24 2011
@@ -22,7 +22,7 @@ import java.io.FileOutputStream;
 
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.IOUtils;
-import org.apache.lucene.index.codecs.CodecProvider;
+import org.apache.lucene.index.codecs.Codec;
 import org.apache.solr.SolrTestCaseJ4;
 import org.junit.BeforeClass;
 
@@ -37,7 +37,7 @@ public class TestICUCollationField exten
   
   @BeforeClass
   public static void beforeClass() throws Exception {
-    assumeFalse("preflex format only supports UTF-8 encoded bytes", "Lucene3x".equals(CodecProvider.getDefault().getDefaultCodec().getName()));
+    assumeFalse("preflex format only supports UTF-8 encoded bytes", "Lucene3x".equals(Codec.getDefault().getName()));
     String home = setupSolrHome();
     initCore("solrconfig.xml","schema.xml", home);
     // add some docs



Mime
View raw message