cwlviewer icon indicating copy to clipboard operation
cwlviewer copied to clipboard

Review Jena dependencies in CWLViewer

Open kinow opened this issue 2 years ago • 1 comments

Description

It appears we are using Jena 3.x API, even though we have Jena 4.x in the dependencies. It's being brought into the code via Taverna: https://github.com/apache/jena/issues/1293#issuecomment-1372712597

Expected Behavior

Use latest Jena 4.x

Actual Behavior

Possible Fix

Use updated API.

Steps to Reproduce

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 39, Java 17):

kinow avatar Jan 05 '23 20:01 kinow

See comments in the linked issue in jena, e.g.

Not sure if CWLViewer is using Jena 4 and 3 at the same time.

Jena uses ServiceLoader to initialize so if jars from both on the classpath, then, yes, it is both (jena-core from v4, RIOT from v3). Since 3.0.1, RIOT plugged itself into jena-core as an RDFReader.

This is (not) going to be fun to tackle this issue, I think.

kinow avatar Jan 06 '23 21:01 kinow