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

don't build and rebuild jar files for dependencies in tests

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.9, 6.0
    • general/build
    • None
    • New

    Description

      Hossman's comments about when jars are built had me thinking,
      its not really great how dependencies are managed currently.

      say i have contrib/hamburger that depends on contrib/cheese

      if I do 'ant test' in contrib/hamburger, you end out with a situation
      where you have no hamburger.jar but you have a cheese.jar.

      The reason for this: i think is how we implement the contrib-uptodate,
      via .jar files. I think instead contrib-uptodate shouldnt use actual
      jar files (cheese.jar) but a simple file we 'touch' like cheese.compiled.

      This will make the build faster, especially I think the solr tests
      which uses these dependencies across a lot of lucene modules. we won't
      constantly jar their stuff.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: