Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9559

fix "gradle eclipse" to build in eclipse again

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: main (9.0)
    • Fix Version/s: None
    • Component/s: general/build
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The current "gradle eclipse" produces a non-working setup: you have compilation errors because of some java files in solr's test-files that don't compile.

      eclipse doesn't differentiate between a resource folder and a sources folder, classpath entries are just "src" and it tries to compile the java files it sees in there, which fails.

      So let's tell it not to compile them so that gradle eclipse works again: I don't know what crazy stuff solr is doing here, but i want the IDE to work again.

        Attachments

        1. LUCENE-9559.patch
          0.7 kB
          Robert Muir
        2. compilefailure.png
          37 kB
          Robert Muir

          Issue Links

            Activity

              People

              • Assignee:
                uschindler Uwe Schindler
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: