Skip to content

Commit

Permalink
Delegate rdf-toolkit provisioning to UCO build process
Browse files Browse the repository at this point in the history
This patch removes all handling of rdf-toolkit.jar from the CASE
ontology repository.  UCO had adopted CASE's rdf-toolkit retrieval in
version 0.7.0, and now UCO Issue 373 will be upgrading the retrieval
process.

This patch handles delegation of rdf-toolkit provisioning.  A follow-on
patch will handle the rdf-toolkit and Java upgrade that is the focus of
UCO Issue 373.

References:
* ucoProject/UCO#373

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Jun 2, 2022
1 parent 180c80a commit ea754f2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 56 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ all:
.git_submodule_init.done.log
touch $@

.lib.done.log:
.lib.done.log: \
.git_submodule_init.done.log
$(MAKE) \
--directory lib
--directory dependencies/UCO \
.lib.done.log
touch $@

check: \
.git_submodule_init.done.log \
.lib.done.log
$(MAKE) \
--directory ontology \
Expand Down
1 change: 0 additions & 1 deletion lib/.gitignore

This file was deleted.

46 changes: 0 additions & 46 deletions lib/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion lib/rdf-toolkit.jar.sha512

This file was deleted.

2 changes: 1 addition & 1 deletion ontology/investigation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ all:
.check-investigation.ttl: \
$(top_srcdir)/.lib.done.log \
investigation.ttl
java -jar $(top_srcdir)/lib/rdf-toolkit.jar \
java -jar $(top_srcdir)/dependencies/UCO/lib/rdf-toolkit.jar \
--infer-base-iri \
--inline-blank-nodes \
--source investigation.ttl \
Expand Down
2 changes: 1 addition & 1 deletion ontology/master/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ all:
.check-case.ttl: \
$(top_srcdir)/.lib.done.log \
case.ttl
java -jar $(top_srcdir)/lib/rdf-toolkit.jar \
java -jar $(top_srcdir)/dependencies/UCO/lib/rdf-toolkit.jar \
--infer-base-iri \
--inline-blank-nodes \
--source case.ttl \
Expand Down
2 changes: 1 addition & 1 deletion ontology/vocabulary/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ all:
.check-vocabulary.ttl: \
$(top_srcdir)/.lib.done.log \
vocabulary.ttl
java -jar $(top_srcdir)/lib/rdf-toolkit.jar \
java -jar $(top_srcdir)/dependencies/UCO/lib/rdf-toolkit.jar \
--infer-base-iri \
--inline-blank-nodes \
--source vocabulary.ttl \
Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ case_monolithic.ttl: \
__$@ \
$(case_turtle_files) \
$(uco_turtle_files)
java -jar $(top_srcdir)/lib/rdf-toolkit.jar \
java -jar $(top_srcdir)/dependencies/UCO/lib/rdf-toolkit.jar \
--infer-base-iri \
--inline-blank-nodes \
--source __$@ \
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ all: \
--output __$@ \
$< \
; rc=$$? ; test 0 -eq $$rc -o 1 -eq $$rc
java -jar $(top_srcdir)/lib/rdf-toolkit.jar \
java -jar $(top_srcdir)/dependencies/UCO/lib/rdf-toolkit.jar \
--inline-blank-nodes \
--source __$@ \
--source-format turtle \
Expand Down

0 comments on commit ea754f2

Please sign in to comment.