Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-1531

The applications should be able to tell us the version of NetarchiveSuite

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • None
    • 3.6
    • Common
    • None

    Description

      Most applications out there have an option to show their version usually
      with the -version or -v option.
      Our applications lack that feature.
      This is easy to fix as every application is started using the method ApplicationsUtils.startApp(Class c String[] args)
      Could be fixed by including the following check before actually starting the application:
      if (showVersion(args)) {
      System.out.println(dk.netarkivet.common.Constants.getVersionString);
      System.exit(0);
      }
      where showVersion(args) return true if "-version" or "-v" is found
      in the args array.

      Attachments

        Activity

          People

            hbk Henrik Kirk (Inactive)
            svc Søren Vejrup Carlsen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: