mirror of https://github.com/apache/lucene.git
SOLR-3686: compile solrj/src/java only with its correct dependencies (tests still have the same classpath as before)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381834 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7e7097edd
commit
8a72b10926
|
@ -20,11 +20,19 @@
|
|||
|
||||
<import file="../common-build.xml"/>
|
||||
|
||||
<!-- Specialized compile classpath: to only depend on what solrj should depend on (e.g. not lucene) -->
|
||||
<path id="classpath">
|
||||
<fileset dir="${common-solr.dir}/solrj/lib">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<!-- 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 refid="solr.base.classpath"/>
|
||||
</path>
|
||||
|
||||
<target name="dist" depends="common-solr.dist">
|
||||
|
|
Loading…
Reference in New Issue