Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-545

Automatic download of optional dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2
    • 1.3
    • Command line, GUI
    • None

    Description

      Some examples documented in the web site do not work unless optional dependencies are manually installed. For example with the metadata example given in the command-line page, adding the --format xml option causes the following error:

      Implementation of JAXB-API has not been found on module path or classpath.
      Causée par ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory
      

      The error can be fixed by running the following commands:

      cd binaries/
      wget https://repo1.maven.org/maven2/org/glassfish/jaxb/jaxb-runtime/2.3.6/jaxb-runtime-2.3.6.jar
      wget https://repo1.maven.org/maven2/com/sun/istack/istack-commons-runtime/3.0.12/istack-commons-runtime-3.0.12.jar
      

      We should add a mechanism in Apabe SIS command-line and JavaFX applications for offering to download those dependencies automatically when first required.

      The combined size of above dependencies is about 1 Mb. It is not very big, so we could have included those dependencies in SIS binary distribution. But the same mechanism could be applied to UCAR netCDF and to Amazon SDK dependencies too, which are much bigger.

      Attachments

        Activity

          People

            Unassigned Unassigned
            desruisseaux Martin Desruisseaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: