File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,16 @@ set -uo pipefail # See http://redsymbol.net/articles/unofficial-bash-strict-mode
66
77export TODAY=$( date +' %Y%m%d' )
88
9+ export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
10+
911# get entityfacts baseline file
1012cd data/entityfacts/
1113wget --quiet https://data.dnb.de/opendata/authorities-gnd_entityfacts.jsonld.gz
1214gunzip < authorities-gnd_entityfacts.jsonld.gz > authorities-gnd_entityfacts.jsonld
1315cd ../..
1416
1517# index entityfacts JSON
16- sbt \
18+ sbt --java-home $JAVA_HOME \
1719 -Dindex.entityfacts.index=entityfacts_$TODAY \
1820 " runMain apps.Index entityfacts" \
1921 > IndexEntityfacts_$TODAY .log 2>&1
@@ -30,7 +32,7 @@ cd ../..
3032mkdir data/index/gnd_lds_$TODAY
3133
3234# convert RDF_XML to JSON lines
33- sbt \
35+ sbt --java-home $JAVA_HOME \
3436 -Ddata.rdfmxl=data/gnd_lds \
3537 -Dindex.entityfacts.index=entityfacts_$TODAY \
3638 -Dindex.prod.name=gnd_$TODAY \
You can’t perform that action at this time.
0 commit comments