SmartDataAnalytics / RdfProcessingToolkit

Command line interface based RDF processing toolkit to run sequences of SPARQL statements ad-hoc on RDF datasets, streams of bindings and streams of named graphs with support for processing JSON, CSV and XML using function extensions
https://smartdataanalytics.github.io/RdfProcessingToolkit/
Other
40 stars 3 forks source link

allow for java -jar usage #10

Closed seebi closed 4 years ago

seebi commented 4 years ago

currently java -jar runs are not possible:

java -jar /usr/src/app/sparql-integrate-debian-cli/target/sparql-integrate-debian-cli-1.0.0.jar
no main manifest attribute, in /usr/src/app/sparql-integrate-debian-cli/target/sparql-integrate-debian-cli-1.0.0.jar

Please extend in order to allow more easy usage patterns ...

Aklakan commented 4 years ago

sparql-integrate contains a separate command line tool called NGS Either we have to publish 2 jars with pretty much the same dependencies (bad) or we provide separate 'super-commands' that then delegate to the existing machinery.

java -jar bundle.jar ngs head -n 10 file.trig
java -jar bundle.jar integrate arg1... arg2

This approach looks actually quite ok

Aklakan commented 4 years ago

Since version 1.0.6 the jar bundle is self-running