Index: lucene/common-build.xml =================================================================== --- lucene/common-build.xml (revision 1173775) +++ lucene/common-build.xml (working copy) @@ -133,6 +133,7 @@ + @@ -546,6 +547,8 @@ + + Index: lucene/src/test-framework/org/apache/lucene/util/LuceneJUnitResultFormatter.java =================================================================== --- lucene/src/test-framework/org/apache/lucene/util/LuceneJUnitResultFormatter.java (revision 1173775) +++ lucene/src/test-framework/org/apache/lucene/util/LuceneJUnitResultFormatter.java (working copy) @@ -66,7 +66,8 @@ private static final org.apache.lucene.store.Lock lock; static { - File lockDir = new File(System.getProperty("java.io.tmpdir"), + File lockDir = new File( + System.getProperty("tests.lockdir", System.getProperty("java.io.tmpdir")), "lucene_junit_lock"); lockDir.mkdirs(); if (!lockDir.exists()) {