tsgrp / HPI

OpenContent Management Suite (OCMS)
http://www.tsgrp.com/products
17 stars 5 forks source link

PDFBox.js on Alfresco 4.2.3 #956

Open aviking opened 8 years ago

aviking commented 8 years ago

When building an alfresco project two versions of pdfbox-1.8.x.jar get added to the lib folder. Does Open Annotate work with the OTB alfresco version of the pdfbox or do we need to get rid of the alfresco version of the pdfbox and just use pdfbox-1.8.8.jar?

m-brouillette commented 8 years ago

We do our own modifications of PDFBox classes for some of our text-related functionality in OA (text searching, text selection). We need to have a version of PDFBox that is up to date enough to contain the classes that we override. Older versions of Alfresco having their own, custom, older PDFBox versions causes us problems.

We could possibly bake it into the build to remove one of the jars.

Corresponding issue from the OA wiki: https://github.com/tsgrp/OpenAnnotate/issues/89