Skip to content

Apache Lucene open-source search software

remove trickiness, hopefully unbreak clover build

Robert Muir061eba1e4f08
diff --git a/lucene/contrib/ant/build.xml b/lucene/contrib/ant/build.xml
index f68e4a19daf..5b8d0b0684f 100644
--- a/lucene/contrib/ant/build.xml
+++ b/lucene/contrib/ant/build.xml
@@ -33,35 +33,18 @@
refid="additional.dependencies"
/>
+ <property name="javac.includeAntRuntime" value="true"/>
+
<import file="../contrib-build.xml"/>
<module-uptodate name="analysis/common" jarfile="${common.dir}/../modules/analysis/build/common/lucene-analyzers-common-${version}.jar"
property="analyzers-common.uptodate" classpath.property="analyzers-common.jar"/>
- <path id="common.classpath">
+ <path id="classpath">
<pathelement path="${analyzers-common.jar}"/>
<path refid="base.classpath"/>
</path>
- <!-- tricky: we compile against our supported version of ant (ant-path),
- but because ant's junit task's includeantruntime *does not work at all*,
- we hack up a custom test classpath that runs against the runtime ant.
- this is the only way to avoid having two different versions of ant
- in the classpath -->
-
- <path id="classpath">
- <path refid="common.classpath"/>
- <path refid="ant-path"/>
- </path>
-
- <path id="junit.classpath">
- <path refid="common.classpath"/>
- <pathelement location="${common.dir}/build/classes/test"/>
- <path refid="junit-path"/>
- <pathelement location="${build.dir}/classes/java"/>
- <pathelement location="${build.dir}/classes/test"/>
- </path>
-
<target name="compile-core" depends="compile-analyzers-common, common.compile-core" />
<target name="compile-analyzers-common" unless="analyzers-common.uptodate">