remove trickiness, hopefully unbreak clover build

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1053236 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-12-28 01:28:11 +00:00
parent 88fd3cc410
commit 061eba1e4f
1 changed files with 3 additions and 20 deletions

View File

@ -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">