1
0
Fork 0

W
Some checks failed
Run BaseX Tests / test (push) Failing after 1m12s

This commit is contained in:
Andy Bunce 2025-02-02 10:34:52 +00:00
parent 8f311b09f9
commit cc29aeca9d
3 changed files with 9 additions and 6 deletions

View file

@ -1,2 +1,2 @@
30/1/2025.................
..lgnfjfggfg
..lgnfjfggfgx

View file

@ -1,8 +1,9 @@
import module namespace build = 'urn:quodatum:build1' at 'build.xqm';
declare variable $base:= file:resolve-path("../",static-base-uri())=>trace("base ");
declare variable $custom:= "/usr/local/basex/lib/custom/";
declare variable $base:=file:parent(db:system()/globaloptions/dbpath/string());
"
copy..
",

View file

@ -1,6 +1,8 @@
import module namespace build = 'urn:quodatum:build1' at 'build.xqm';
declare variable $base:= file:resolve-path("../",static-base-uri())=>trace("base ");
declare variable $maven-urls := (
"org/apache/pdfbox/pdfbox/3.0.4/pdfbox-3.0.4.jar",
"org/apache/pdfbox/pdfbox-io/3.0.4/pdfbox-io-3.0.4.jar",
@ -9,21 +11,21 @@ declare variable $maven-urls := (
);
let $config :=map {
"base": file:resolve-path("../",static-base-uri()),
"manifest-jar" : "pdfbox-3.0.4.jar",
"input-dir" : "jars/",
"output" : "dist/pdfbox-3.0.4.fat.jar",
"main-class": "org.expkg_zone58.Pdfbox3"
}
let $jar-path:=file:resolve-path($config?input-dir,$config?base=>trace("base "))=>trace("jar: ")
let $jar-path:=file:resolve-path($config?input-dir,$base)=>trace("jar: ")
let $_:=build:maven-download($maven-urls,$jar-path)
let $fat-jar := build:fatjar-from-folder($jar-path,$config?manifest-jar)
let $fat-jar:=build:update-manifest($fat-jar, $config?main-class)
let $name:=replace($config?main-class,"\.","/") || ".xqm"
let $content:=file:read-binary($config?base || "src/Pdfbox3.xqm")
let $content:=file:read-binary($base || "src/Pdfbox3.xqm")
let $fat-jar:=archive:update($fat-jar, $name,$content)
let $output-file := file:resolve-path($config?output,$config?base)
let $output-file := file:resolve-path($config?output,$base)
return (build:write-binary($output-file, $fat-jar),
trace($output-file,"fat jar: "))