[
https://issues.apache.org/jira/browse/LUCENE-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086302#comment-13086302
]
Robert Muir commented on LUCENE-3378:
-------------------------------------
Here's the explanation (since patch will not apply as it contains svn moves):
# disabled the lucene src/test from contrib classpath
# moved the fieldcacherewritemethod and tests to core src/test, as discussed in
LUCENE-3271
# moved the europarl data file to tests-framework, because some contribs use it
# moved that createDocument() method from TestIndexWriterReader to DocHelper
if there are no objections I would like to commit soon.
> Some contribs depend on core tests to be compiled and fail when ant clean was
> done before
> -----------------------------------------------------------------------------------------
>
> Key: LUCENE-3378
> URL: https://issues.apache.org/jira/browse/LUCENE-3378
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/test
> Affects Versions: 3.4, 4.0
> Reporter: Uwe Schindler
> Attachments: LUCENE-3378.patch
>
>
> If you do "ant clean" on the root level of Lucene and then go to e.g.
> contrib/queryparser (3.x only) or contrib/misc (3.x and trunk) and call "ant
> test", the build of tests fails:
> - contrib/queryparser's ExtendedableQPTests extend a core TestQueryParser
> (3.x only, in module this works, of course)
> - contrib/misc/TestIndexSplitter uses a core class to build its index
> To find the root cause: We should first remove the core tests from contrib
> classpath, so the issue gets visible even without "ant clean" before. Then we
> can fix this.
--
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]