PRImA-Research-Lab / prima-page-viewer

Java based viewer for PAGE XML files (layout + text content). Also supports ALTO XML, FineReader XML, and HOCR.
Apache License 2.0
34 stars 9 forks source link

new version supporting 2019 namespace #5

Closed bertsky closed 5 years ago

bertsky commented 5 years ago

Are there current plans to make a new release for the 2019-07-15 version? Can I help with a PR?

chris1010010 commented 5 years ago

I'm on it. Need to update the core libs first and do some testing ideally.

bertsky commented 5 years ago

Splendid! Thanks for responding so quickly.

chris1010010 commented 5 years ago

There's a new release. I did some basic testing, but not super thorough...

bertsky commented 5 years ago

Thanks @chris1010010! One more thing, there are no building instructions here, and no new binaries on the PRImA website. There is one .project which opens in Eclipse JDT, but it does not build:

Description Resource    Path    Location    Type
Project 'JAletheia' is missing required Java project: 'PrimaBasic'  JAletheia       Build path  Build Path Problem
Project 'JAletheia' is missing required Java project: 'PrimaDla'    JAletheia       Build path  Build Path Problem
Project 'JAletheia' is missing required Java project: 'PrimaIo' JAletheia       Build path  Build Path Problem
Project 'JAletheia' is missing required Java project: 'PrimaMaths'  JAletheia       Build path  Build Path Problem
Project 'JAletheia' is missing required library: 'lib/swt.jar'  JAletheia       Build path  Build Path Problem
The project cannot be built until build path errors are resolved    JAletheia       Unknown Java Problem

Regarding swt.jar, I tried to copy various versions (those from eclipse/plugins/org.eclipse.swt*, and those from libswt-gtk-4-java Ubuntu pkg) into lib/swt.jar, but that did not help.

Being an absolute stranger to Eclipse and Java builds, how do I make this work?

chris1010010 commented 5 years ago

There are binaries in the release section in the GitHub repo. I should add build instructions. You'll need the prima core libs (it's another GitHub repo). You can use the swt jar from the release

bertsky commented 5 years ago

There are binaries in the release section in the GitHub repo.

Me bad – found it, thanks!