Skip to content

[VIVO-1732] - Bugfix for exporting from TDB databases in jena3tools

backups requested to merge github/fork/gneissone/bugfix/VIVO-1732 into master

Created by: gneissone

JIRA Issue: jena3tools does not work with TDB databases

What does this pull request do?

Fixes a bug that prevented jena3tools from exporting content from TDB databases

What's new?

Bug fix only. Skips logic that reads SDB database layout type if the database is determined to not be an SDB database and attempts to export immediately.

How should this be tested?

Attempt to export from a TDB database using jena3tools java -jar jena3tools -e -d /usr/local/vivo/home

Confirm that the content export fails. Build with changes in this pull request. mvn package Repeat export with changes. java -jar jena3tools/target/jena3tools-1.3.0-SNAPSHOT.jar -e -d /usr/local/vivo/home

Confirm export completes.

Additional notes

I expect a similar problem exists for jena2tools, but I don't have a Jena 2 TDB database to test against.

Interested parties

@VIVO-project/vivo-committers

Merge request reports