Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2299

improve test-running from eclipse

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: Build
    • Labels:
      None

      Description

      In eclipse, its currently difficult to get a solr development environment working.

      One big thing that would help would be to make it easier to run the tests.
      When loading resources, if we checked the config dir + file directory from the resource path,
      then users could simply add src/test/test-files to their eclipse build classpath, and tests would just work from the IDE.

      I gather that this might make things easier for other IDEs too, though I'm aware that ones like Intellij
      let you configure the test 'working directory' on a project basis, but eclipse doesn't
      (you have to make a custom run configuration every time you run the tests)

        Attachments

        1. SOLR-2299_part2.patch
          19 kB
          Robert Muir
        2. SOLR-2299.patch
          7 kB
          Robert Muir
        3. SOLR-2299.patch
          0.6 kB
          Robert Muir

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: