Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-2666: Solrj test.classpath should not include Solr core test compilation output

Steven Rowe9b34200d0d0c
diff --git a/solr/solrj/build.xml b/solr/solrj/build.xml
index a1974e961fa..fbeb731b211 100644
--- a/solr/solrj/build.xml
+++ b/solr/solrj/build.xml
@@ -20,6 +20,13 @@
<import file="../common-build.xml"/>
+ <!-- Specialized common-solr.test.classpath, to remove the Solr core test output -->
+ <path id="test.classpath">
+ <pathelement path="${common-solr.dir}/build/solr-test-framework/classes/java"/>
+ <pathelement path="${tests.userdir}"/>
+ <path refid="test.base.classpath"/>
+ </path>
+
<target name="compile-test" depends="compile-solr-test-framework,common.compile-test"/>
<target name="test" depends="compile-test,junit-mkdir,junit-sequential,junit-parallel"/>