Solrj test.classpath should not include Solr core test compilation output
-------------------------------------------------------------------------
Key: SOLR-2666
URL: https://issues.apache.org/jira/browse/SOLR-2666
Project: Solr
Issue Type: Bug
Components: Build
Affects Versions: 3.4, 4.0
Reporter: Steven Rowe
Assignee: Steven Rowe
Under {{solr/solrj/}} on branch_3x, {{ant compile-test}} fails because of
incomplete backport of the SOLR-2452 changes: {{TestNamedListCodec}} still
depends on a Solr test class {{TestDistributedSearch}}.
This problem is masked by the inclusion of Solr test compilation output in
Solrj's {{test.classpath}}, which is inherited from {{solr/common-build.xml}};
when {{ant compile-test}} is run from {{solr/}}, the Solr core tests are
compiled first, thus allowing Solrj test compilation to succeed.
On trunk, {{ant compile-test}} under {{solr/solrj/}} does not fail, because
{{TestNamedListCodec}} depends on {{BaseDistributedSearchTestCase}}, located in
Solr's test-framework, instead of on {{TestDistributedSearch}}. This issue
should nevertheless be addressed on trunk too, to surface future inadvertent
solrj test->solr core test dependencies.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]