lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r922602 - in /lucene/java/trunk: ./ common-build.xml src/test/org/apache/lucene/index/TestIndexReader.java src/test/org/apache/lucene/store/TestDirectory.java
Date Sat, 13 Mar 2010 16:48:40 GMT
Author: uschindler
Date: Sat Mar 13 16:48:40 2010
New Revision: 922602

URL: http://svn.apache.org/viewvc?rev=922602&view=rev
Log:
fix the missing tempDir in trunk

Modified:
    lucene/java/trunk/   (props changed)
    lucene/java/trunk/common-build.xml
    lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexReader.java
    lucene/java/trunk/src/test/org/apache/lucene/store/TestDirectory.java

Propchange: lucene/java/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sat Mar 13 16:48:40 2010
@@ -1,8 +1,6 @@
 build
 dist
 backwards
-target
-test
 *~
 velocity.log
 build.properties

Modified: lucene/java/trunk/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/common-build.xml?rev=922602&r1=922601&r2=922602&view=diff
==============================================================================
--- lucene/java/trunk/common-build.xml (original)
+++ lucene/java/trunk/common-build.xml Sat Mar 13 16:48:40 2010
@@ -43,7 +43,7 @@
   <property name="dev.version" value="3.1-dev"/>
   <property name="version" value="${dev.version}"/>
   <property name="backwards.branch" value="lucene_3_0_back_compat_tests"/>
-  <property name="backwards.rev" value="912395"/>
+  <property name="backwards.rev" value="922601"/>
   <property name="spec.version" value="${version}"/>	
   <property name="year" value="2000-${current.year}"/>
   <property name="final.name" value="lucene-${name}-${version}"/>

Modified: lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexReader.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexReader.java?rev=922602&r1=922601&r2=922602&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexReader.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexReader.java Sat Mar 13 16:48:40
2010
@@ -507,9 +507,7 @@ public class TestIndexReader extends Luc
     // Make sure you can set norms & commit even if a reader
     // is open against the index:
     public void testWritingNorms() throws IOException {
-        String tempDir = "target/test";
-
-        File indexDir = new File(tempDir, "lucenetestnormwriter");
+        File indexDir = new File(System.getProperty("tempDir"), "lucenetestnormwriter");
         Directory dir = FSDirectory.open(indexDir);
         IndexWriter writer;
         IndexReader reader;

Modified: lucene/java/trunk/src/test/org/apache/lucene/store/TestDirectory.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/store/TestDirectory.java?rev=922602&r1=922601&r2=922602&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/store/TestDirectory.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/store/TestDirectory.java Sat Mar 13 16:48:40
2010
@@ -138,7 +138,7 @@ public class TestDirectory extends Lucen
 
   // LUCENE-1468
   public void testFSDirectoryFilter() throws IOException {
-    checkDirectoryFilter(FSDirectory.open(new File("test")));
+    checkDirectoryFilter(FSDirectory.open(new File(System.getProperty("tempDir"),"test")));
   }
 
   // LUCENE-1468



Mime
View raw message