This commit is contained in:
		
							parent
							
								
									8c65859693
								
							
						
					
					
						commit
						036915590e
					
				
					 3 changed files with 10 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,2 +1,2 @@
 | 
			
		|||
30/1/2025.................
 | 
			
		||||
..lgnfjfggfgxhcsxwnndccxc
 | 
			
		||||
..lgnfjfggfgxhcsxwnndccxcx
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
# run query
 | 
			
		||||
XQUERY "make fat jar.."
 | 
			
		||||
XQUERY "make xar.."
 | 
			
		||||
RUN make-xar.xq
 | 
			
		||||
XQUERY "Repo install.."
 | 
			
		||||
REPO INSTALL dist/pdfbox.xar
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,6 +2,14 @@
 | 
			
		|||
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)
 | 
			
		||||
return (build:write-binary($output-file, $xar),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue