18.01.2016, 16:21, Andy Seaborne wrote:
Should be fixed now. I must have left some maven-generated files around.
Thanks Andy, it works for me now!
PS What I don't understand is why the SDB command line tools are so slow
to start up.
#define slow?
For me, sdbinfo is about 1.5 seconds:
$ time bin/sdbinfo --version
Jena: VERSION: 3.1.0-SNAPSHOT
Jena: BUILD_DATE: 2016-01-18T22:45:03+0000
ARQ: VERSION: 3.1.0-SNAPSHOT
ARQ: BUILD_DATE: 2016-01-18T22:45:03+0000
RIOT: VERSION: 3.1.0-SNAPSHOT
RIOT: BUILD_DATE: 2016-01-18T22:45:03+0000
SDB: VERSION: 3.1.0-SNAPSHOT
SDB: BUILD_DATE: 2016-01-19T14:05:40+0200
real 0m0.989s
user 0m1.560s
sys 0m0.096s
My guess is that this is because sdbinfo (and others) calls sdb_init,
which in turn calls sdb_path, which calls make_classpath (or
make_classpath_mvn). All those bash startups add up.
I can live with a couple of seconds startup delay, but refactoring the
scripts is an option.
-Osma
--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi