NikB4x Member Licensed User Longtime User May 28, 2021 #1 Hi All, I'm trying the wrapper for PDFBox created from @fixit30 here and it seems to work very well, but B4JPackager does not include it automatically in the stand-alone package. I think that it requires addidional json settings, something similar to jpoi as reported here Any ideas? Thanks
Hi All, I'm trying the wrapper for PDFBox created from @fixit30 here and it seems to work very well, but B4JPackager does not include it automatically in the stand-alone package. I think that it requires addidional json settings, something similar to jpoi as reported here Any ideas? Thanks
NikB4x Member Licensed User Longtime User May 29, 2021 #2 When it was executed in stand-alone mode, the specific error is this: B4X: Copy java.lang.RuntimeException: java.io.IOException: Error: could not find resource 'org/apache/pdfbox/resources/PDFTextStripper.properties' on classpath. Nobody reported the same problem? Upvote 0
When it was executed in stand-alone mode, the specific error is this: B4X: Copy java.lang.RuntimeException: java.io.IOException: Error: could not find resource 'org/apache/pdfbox/resources/PDFTextStripper.properties' on classpath. Nobody reported the same problem?
Erel B4X founder Staff member Licensed User Longtime User May 30, 2021 #3 The jar file of this library is missing. Upvote 0
NikB4x Member Licensed User Longtime User May 30, 2021 #4 Erel said: The jar file of this library is missing. Click to expand... Hi Erel, thank you very much for your reply. In the Main module there is the directive: #AdditionalJar: pdfbox-app-1.8.10.jar In the GUI it works perfect. Is there something else to add to have the library included in stand-alone mode? Thanks Upvote 0
Erel said: The jar file of this library is missing. Click to expand... Hi Erel, thank you very much for your reply. In the Main module there is the directive: #AdditionalJar: pdfbox-app-1.8.10.jar In the GUI it works perfect. Is there something else to add to have the library included in stand-alone mode? Thanks
Erel B4X founder Staff member Licensed User Longtime User May 30, 2021 #5 I wanted to try it myself but the link to pdfbox-app-1.8.10.jar is broken. Upvote 0
DonManfred Expert Licensed User Longtime User May 30, 2021 #6 Erel said: I wanted to try it myself but the link to pdfbox-app-1.8.10.jar is broken. Click to expand... Central Repository: org/apache/pdfbox/pdfbox-app/1.8.10 Upvote 0
Erel said: I wanted to try it myself but the link to pdfbox-app-1.8.10.jar is broken. Click to expand... Central Repository: org/apache/pdfbox/pdfbox-app/1.8.10
Erel B4X founder Staff member Licensed User Longtime User May 31, 2021 #7 1. Download: www.b4x.com/b4j/files/pdfbox_res.zip 2. Extract it in the project folder. 3. Add: Code: Copy #CustomBuildAction: After Packager, %WINDIR%\System32\robocopy.exe, /e ..\pdfbox temp\build\bin\ Upvote 0
1. Download: www.b4x.com/b4j/files/pdfbox_res.zip 2. Extract it in the project folder. 3. Add: Code: Copy #CustomBuildAction: After Packager, %WINDIR%\System32\robocopy.exe, /e ..\pdfbox temp\build\bin\
NikB4x Member Licensed User Longtime User May 31, 2021 #8 Erel said: 1. Download: www.b4x.com/b4j/files/pdfbox_res.zip 2. Extract it in the project folder. View attachment 114254 3. Add: Code: Copy #CustomBuildAction: After Packager, %WINDIR%\System32\robocopy.exe, /e ..\pdfbox temp\build\bin\ Click to expand... Hi Erel, thank you very much!!! It works very well. Upvote 0
Erel said: 1. Download: www.b4x.com/b4j/files/pdfbox_res.zip 2. Extract it in the project folder. View attachment 114254 3. Add: Code: Copy #CustomBuildAction: After Packager, %WINDIR%\System32\robocopy.exe, /e ..\pdfbox temp\build\bin\ Click to expand... Hi Erel, thank you very much!!! It works very well.