You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/09/07 03:01:01 UTC

svn commit: r1381836 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/solrj/ solr/solrj/build.xml

Author: rmuir
Date: Fri Sep  7 01:01:01 2012
New Revision: 1381836

URL: http://svn.apache.org/viewvc?rev=1381836&view=rev
Log:
SOLR-3686: compile solrj/src/java only with its correct dependencies (tests still have the same classpath as before)

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/solrj/   (props changed)
    lucene/dev/branches/branch_4x/solr/solrj/build.xml

Modified: lucene/dev/branches/branch_4x/solr/solrj/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/solrj/build.xml?rev=1381836&r1=1381835&r2=1381836&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/solrj/build.xml (original)
+++ lucene/dev/branches/branch_4x/solr/solrj/build.xml Fri Sep  7 01:01:01 2012
@@ -20,11 +20,17 @@
 
   <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" excludes="${common.classpath.excludes}"/>
+  </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">