Skip to content

Apache Lucene open-source search software

move test class being referenced by non-test code

Robert Muirda7bbb75b998
diff --git a/contrib/benchmark/build.xml b/contrib/benchmark/build.xml
index 12939955a05..23f2c7527f6 100644
--- a/contrib/benchmark/build.xml
+++ b/contrib/benchmark/build.xml
@@ -128,7 +128,6 @@
<path id="classpath">
<pathelement path="${common.dir}/build/classes/java"/>
<pathelement path="${common.dir}/build/classes/demo"/>
- <pathelement path="${common.dir}/build/classes/test"/>
<pathelement path="${common.dir}/build/contrib/highlighter/classes/java"/>
<pathelement path="${common.dir}/build/contrib/memory/classes/java"/>
<pathelement path="${common.dir}/build/contrib/fast-vector-highlighter/classes/java"/>
@@ -145,7 +144,7 @@
<property name="task.alg" location="conf/micro-standard.alg"/>
<property name="task.mem" value="140M"/>
- <target name="run-task" depends="compile-test,check-files,get-files"
+ <target name="run-task" depends="compile,check-files,get-files"
description="Run compound penalty perf test (optional: -Dtask.alg=your-algorithm-file -Dtask.mem=java-max-mem)">
<echo>Working Directory: ${working.dir}</echo>
<java classname="org.apache.lucene.benchmark.byTask.Benchmark" maxmemory="${task.mem}" fork="true">
diff --git a/src/test/org/apache/lucene/util/English.java b/src/java/org/apache/lucene/util/English.java
similarity index 100%
rename from src/test/org/apache/lucene/util/English.java
rename to src/java/org/apache/lucene/util/English.java