You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/08/17 15:05:29 UTC

[jira] [Commented] (LUCENE-3378) Some contribs depend on core tests to be compiled and fail when ant clean was done before

    [ https://issues.apache.org/jira/browse/LUCENE-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086289#comment-13086289 ] 

Robert Muir commented on LUCENE-3378:
-------------------------------------

I agree, in some of these cases, we might be able to refactor helper methods and such into tests-framework, which would be cleaner.

we shouldn't necessarily do this in all cases, but at least clean up the obvious ones


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