[fix] common-log jar missing
This commit is contained in:
parent
2c6074d4d3
commit
057d29dad7
9 changed files with 6 additions and 19 deletions
|
@ -9,16 +9,7 @@ BaseX (10+) interface to [Pdfbox](https://pdfbox.apache.org/) version 3
|
|||
* save pdf page range to new pdf
|
||||
* save pdf page as image
|
||||
|
||||
Uses
|
||||
* https://github.com/blikblum/slick-router#readme
|
||||
* https://dev.to/blikblum/slick-router-a-powerful-router-for-web-components-3fck
|
||||
|
||||
## Sync
|
||||
```
|
||||
cd C:\Users\mrwhe\git\expkg-zone58\pdfbox\src\webapp\pdf
|
||||
|
||||
c:\DeltaCopy\rsync -rlptz --progress --exclude=.git --exclude=.vscode . andy@localhost::basexserv/
|
||||
```
|
||||
## Jars
|
||||
* fontbox-3.0.2.jar
|
||||
* pdfbox-3.0.2.jar
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
xquery version '3.1';
|
||||
(:~
|
||||
pdfbox 3.0 https://pdfbox.apache.org/ BaseX 10.7+ interface library,
|
||||
requires pdfbox jar on classpath
|
||||
3.02+ required tested with pdfbox-app-3.0.2.jar
|
||||
requires pdfbox jar on classpath, tested with pdfbox-app-3.0.3.jar
|
||||
@see download https://pdfbox.apache.org/download.cgi
|
||||
@javadoc https://javadoc.io/static/org.apache.pdfbox/pdfbox/3.0.2/
|
||||
@javadoc https://javadoc.io/static/org.apache.pdfbox/pdfbox/3.0.3/
|
||||
|
||||
:)
|
||||
module namespace pdfbox="org.expkg-zone58.Pdfbox3";
|
||||
module namespace pdfbox="org.expkg_zone58.Pdfbox3";
|
||||
|
||||
declare namespace Loader ="java:org.apache.pdfbox.Loader";
|
||||
declare namespace PDFTextStripper = "java:org.apache.pdfbox.text.PDFTextStripper";
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -8,7 +8,7 @@ let $config :=map {
|
|||
"manifest-jar" : "pdfbox-3.0.3.jar",
|
||||
"input-dir" : "C:\Users\mrwhe\git\expkg-zone58\pdfbox\jars\",
|
||||
"output" : "../lib/pdfbox-3.0.3.fat.jar",
|
||||
"main-class": "org.expkg-zone58.Pdfbox3"
|
||||
"main-class": "org.expkg_zone58.Pdfbox3"
|
||||
}
|
||||
|
||||
let $fat-jar := build:fatjar-from-folder($config?input-dir,$config?manifest-jar)
|
||||
|
|
|
@ -2,14 +2,11 @@
|
|||
|
||||
:)
|
||||
module namespace test="urn:expkg-zone58:pdfbox3:tests";
|
||||
import module namespace pdfbox="org.expkg-zone58.Pdfbox3";
|
||||
import module namespace pdfbox="org.expkg_zone58.Pdfbox3";
|
||||
|
||||
declare variable $test:base:=file:base-dir()=>file:parent()=>file:parent();
|
||||
|
||||
declare %unit:test
|
||||
function test:pdfbox-version(){
|
||||
unit:assert(starts-with(pdfbox:version(),"3.0"))
|
||||
};
|
||||
|
||||
|
||||
declare %unit:test
|
||||
function test:page-count(){
|
||||
|
|
Loading…
Add table
Reference in a new issue