[mod] auto build
This commit is contained in:
parent
9da83b5e27
commit
fe687dd723
13 changed files with 124 additions and 96 deletions
|
|
@ -1,16 +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",
|
||||
"org/apache/pdfbox/fontbox/3.0.4/fontbox-3.0.4.jar",
|
||||
"commons-logging/commons-logging/1.3.4/commons-logging-1.3.4.jar"
|
||||
);
|
||||
let $_:=build:maven-download($maven-urls,$base || "jars/")
|
||||
let $xar:=build:xar-create($base)
|
||||
let $output-file := file:resolve-path("dist/pdfbox.xar",$base)
|
||||
let $_:=build:maven-download($build:PKG?quodatum?maven=>array:flatten(),$build:base || "jars/")
|
||||
let $xar:=build:xar-create()
|
||||
let $output-file := build:xar-path()
|
||||
return (build:write-binary($output-file, $xar),
|
||||
trace($output-file,"xar: "))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue