Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1819

javamcsapi's getJavaMcsapiVersion() function returns unknown if included as extracted library

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0, 1.1.6
    • Fix Version/s: Icebox
    • Component/s: mcsapi
    • Labels:
      None
    • Environment:
      Windows, Linux

      Description

      If we generate a Jar that includes javamcsapi as extracted library the getJavaMcsapiVersion() function returns unknown instead of the version information.

      Using the package required libraries option works as expected.

      Confirm-able with following code:

      package com.mariadb;
       
      import com.mariadb.columnstore.api.*;
       
      public class MCOL {
       
      	public static void main(String[] args) {
      		ColumnStoreDriver d = new ColumnStoreDriver();
      		System.out.println(d.getVersion());
      		System.out.println(d.getJavaMcsapiVersion());
      	}
      }
      

      and included bug.jar.

      java -jar bug.jar
      > 1.2.0-3e88a57
      > unknown
      

        Attachments

        1. bug.jar
          30 kB
        2. export.PNG
          export.PNG
          25 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jens.rowekamp Jens Röwekamp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration