Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: BLAZEGRAPH_RELEASE_1_5_2
    • Component/s: None
    • Labels:
      None

      Description

      I've noticed that RC1 build puts test files into the built jar (when I
      build with ant jar). Is that intentional? Is there a way to build a jar
      without test files? jar with test files causes some problems for wikidata query service build - for complex and boring reasons having to do with the fact that
      test files depend on TestCase2 from junit-ext which is not in
      dependencies or jar (I can explain the problem further but if we can get
      rid of test files it will be gone) - so I wonder if the test files can
      be just dropped from the jar?

      1.5.1 didn't seem to add test files so it is new.

        Activity

        Hide
        beebs Brad Bebee added a comment -

        https://github.com/SYSTAP/bigdata/pull/118 pending clean CI will merge into RC 1 branch.

        The BLZG-1391 branch is also on Sourceforge, if you'd like to test locally.

        Show
        beebs Brad Bebee added a comment - https://github.com/SYSTAP/bigdata/pull/118 pending clean CI will merge into RC 1 branch. The BLZG-1391 branch is also on Sourceforge, if you'd like to test locally.
        Hide
        stasmalyshev stasmalyshev added a comment -

        It looks like that patch cuts too much - e.g. it seems to exclude cutthecrap.utils.striterators.IFilterTest - at least I'm getting errors like:

        > Throwable #1: java.lang.NoClassDefFoundError: cutthecrap/utils/striterators/IFilterTest

        now.

        Show
        stasmalyshev stasmalyshev added a comment - It looks like that patch cuts too much - e.g. it seems to exclude cutthecrap.utils.striterators.IFilterTest - at least I'm getting errors like: > Throwable #1: java.lang.NoClassDefFoundError: cutthecrap/utils/striterators/IFilterTest now.
        Hide
        beebs Brad Bebee added a comment -

        This came up in CI too. I've updated to be more precise. Here are the only classes left in the jar. The openrdf ones may be problematic. There's an updated branch in sourceforge.

        ./com/bigdata/rdf/sail/bench/Q14Test.class
        ./com/bigdata/relation/accesspath/ElementFilter$FilterTestWrapper.class
        ./com/bigdata/service/jini/util/MessageTest$ConfigurationOptions.class
        ./com/bigdata/service/jini/util/MessageTest$MessageTask$1.class
        ./com/bigdata/service/jini/util/MessageTest$MessageTask.class
        ./com/bigdata/service/jini/util/MessageTest$NOpTask.class
        ./com/bigdata/service/jini/util/MessageTest.class
        ./cutthecrap/utils/striterators/IFilterTest.class
        ./org/openrdf/query/parser/sparql/manifest/SPARQL11ManifestTest$1.class
        ./org/openrdf/query/parser/sparql/manifest/SPARQL11ManifestTest$2.class
        ./org/openrdf/query/parser/sparql/manifest/SPARQL11ManifestTest.class
        
        Show
        beebs Brad Bebee added a comment - This came up in CI too. I've updated to be more precise. Here are the only classes left in the jar. The openrdf ones may be problematic. There's an updated branch in sourceforge. ./com/bigdata/rdf/sail/bench/Q14Test.class ./com/bigdata/relation/accesspath/ElementFilter$FilterTestWrapper.class ./com/bigdata/service/jini/util/MessageTest$ConfigurationOptions.class ./com/bigdata/service/jini/util/MessageTest$MessageTask$1.class ./com/bigdata/service/jini/util/MessageTest$MessageTask.class ./com/bigdata/service/jini/util/MessageTest$NOpTask.class ./com/bigdata/service/jini/util/MessageTest.class ./cutthecrap/utils/striterators/IFilterTest.class ./org/openrdf/query/parser/sparql/manifest/SPARQL11ManifestTest$1.class ./org/openrdf/query/parser/sparql/manifest/SPARQL11ManifestTest$2.class ./org/openrdf/query/parser/sparql/manifest/SPARQL11ManifestTest.class

          People

          • Assignee:
            beebs Brad Bebee
            Reporter:
            stasmalyshev stasmalyshev
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: