Skip to content

Apache Lucene open-source search software

SOLRLUCENE-3795: fix build.xml

Ryan McKinley1d7656b89b3f
diff --git a/modules/spatial/build.xml b/modules/spatial/build.xml
index b8c0dfe2445..e281046bce6 100644
--- a/modules/spatial/build.xml
+++ b/modules/spatial/build.xml
@@ -41,20 +41,20 @@
<ant dir="strategy" target="clean" />
</target>
<target name="validate">
- <ant dir="base" target="clean" />
- <ant dir="strategy" target="clean" />
+ <ant dir="base" target="validate" />
+ <ant dir="strategy" target="validate" />
</target>
<target name="compile-core">
- <ant dir="base" target="clean" />
- <ant dir="strategy" target="clean" />
+ <ant dir="base" target="compile-core" />
+ <ant dir="strategy" target="compile-core" />
</target>
<target name="compile-test">
- <ant dir="base" target="clean" />
- <ant dir="strategy" target="clean" />
+ <ant dir="base" target="compile-test" />
+ <ant dir="strategy" target="compile-test" />
</target>
<target name="test">
- <ant dir="base" target="clean" />
- <ant dir="strategy" target="clean" />
+ <ant dir="base" target="test" />
+ <ant dir="strategy" target="test" />
</target>
<target name="build-artifacts-and-tests" depends="default,compile-test" />
diff --git a/modules/spatial/strategy/build.xml b/modules/spatial/strategy/build.xml
index 3dfee7789df..97fc01c9287 100644
--- a/modules/spatial/strategy/build.xml
+++ b/modules/spatial/strategy/build.xml
@@ -43,6 +43,7 @@
<path id="test.classpath">
<path refid="test.base.classpath" />
+ <path refid="base.classpath"/>
<pathelement path="${analyzers-common.jar}" />
<pathelement path="src/test-files" />
</path>