Lucene - Core
  1. Lucene - Core
  2. LUCENE-3378

Some contribs depend on core tests to be compiled and fail when ant clean was done before

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.4, 4.0-ALPHA
    • Fix Version/s: 3.4, 4.0-ALPHA
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

      1. LUCENE-3378.patch
        20 kB
        Robert Muir
      2. LUCENE-3378_qp.patch
        98 kB
        Robert Muir

        Activity

        Uwe Schindler created issue -
        Robert Muir made changes -
        Field Original Value New Value
        Attachment LUCENE-3378.patch [ 12490648 ]
        Robert Muir made changes -
        Attachment LUCENE-3378_qp.patch [ 12490676 ]
        Robert Muir made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.4 [ 12316675 ]
        Fix Version/s 4.0 [ 12314025 ]
        Resolution Fixed [ 1 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Uwe Schindler
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development