On 18/01/16 12:37, Osma Suominen wrote:
Hi,
I've recently reenabled building of the jena-sdb distribution (see
JENA-1118). After building the packages, I noticed that the --version
flag gives the versions of Jena, ARQ and RIOT, but the version and build
date information for SDB itself is missing:
$ sdbinfo --version
Jena: VERSION: 3.1.0-SNAPSHOT
Jena: BUILD_DATE: 2016-01-14T09:48:43+0000
ARQ: VERSION: 3.1.0-SNAPSHOT
ARQ: BUILD_DATE: 2016-01-17T18:26:28+0000
RIOT: VERSION: 3.1.0-SNAPSHOT
RIOT: BUILD_DATE: 2016-01-17T18:26:28+0000
SDB: VERSION: unknown
SDB: BUILD_DATE: unset
Forgive my ignorance, but how is this determined/stored and where can I
fix it? To my eyes, the jena-sdb pom.xml looks similar to the other
modules and has version information among other things, but somewhere
along the way it gets lost apparently.
Older versions of SDB distributions did show this correctly.
-Osma
There is a file
src/main/resources/org/apache/jena/sdb/sdb-properties.xml
that gets maven-processed to hard wire the
build details. (So under Eclipse it is wrong - it's a filtered maven
resource).
But the resource path name to it in the java was wrong.
I was fixing up initialization as the init code wasn't firing
automatically (useful in Fuseki) and moved the properties file but
mistyped the resource name in SDB.java.
Should be fixed now. I must have left some maven-generated files around.
Andy
PS What I don't understand is why the SDB command line tools are so slow
to start up.