Uploaded image for project: 'Metadata Aggregator'
  1. Metadata Aggregator
  2. MDA-179

Version class is not functional

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.10.0
    • Component/s: Build & Distribution
    • Labels:
      None
    • Operating System:
      Multiple

      Description

      The aggregator-pipeline artifact contains a Version class, which appears to be completely inoperative.

      It's suppose to have several functions. The first is that it's set as the executable class in the .jar, and that is set up correctly. It throws an NPE when invoked, however, which is certainly not intended.

      It's also supposed to be able to return a version string for the module, which it doesn't do. Again, the result is an NPE, which appears to be from the static initialisation.

      Things are made hard to test (and in particular unit test) because this information is supposed to be extracted from the manifest and this can't be done as part of the build. One way to make things a little better would be to add a --version option to the CLI which could be used to perform a manual test (although invoking the aggregator-pipeline .jar should be equivalent).

        Attachments

          Activity

            People

            Assignee:
            ian@iay.org.uk Ian Young
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 10 minutes
                1h 10m