Populate version info for the eXist issue tracker
- eXist-db version + Git Revision hash: eXist 3.5.0-SNAPSHOT+0875a60cc (build 201709211530)
- Java version: jdk1.8.0_144.jdk
- Operating system: OSX 10.12
- 32 or 64 bit: x86_64
- Any custom changes in e.g. conf.xml:
xquery version "3.1";
(: Note: the environment-variable functions only work if the user running the query has DBA access :)
(: Probe available environment variables with the following query :)
(:
map:merge(
available-environment-variables() ! map:entry(., environment-variable(.))
),
:)
string-join(
(
"- eXist-db version + Git Revision hash: eXist " || system:get-version() || "+" || system:get-revision() || " (build " || system:get-build() || ")",
"- Java version: " || (environment-variable("JAVA_HOME") => tokenize("/"))[matches(., "\d+\.\d+\.\d+")],
"- Operating system: " || environment-variable("_system_name") || " " || environment-variable("_system_version"),
"- 32 or 64 bit: " || environment-variable("_system_arch"),
"- Any custom changes in e.g. conf.xml: "
),
" ")