lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-2666) Solrj test.classpath should not include Solr core test compilation output
Date Wed, 20 Jul 2011 13:44:58 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steven Rowe resolved SOLR-2666.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.4

Committed:
- r1148763: trunk
- r1148766: branch_3x

> 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
>             Fix For: 3.4, 4.0
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message