Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2019-03-15 14:31:38 GMT <alfresco-discord> <drazen04> Hi guys, i had a big problem. I have to make a fix to uploaded files bigger than 500mb, so i need to split them but using itext that use PDDocument (PdfBox library) i cannot do, because conflicts with the custom version for Alfresco.

2019-03-15 15:26:49 GMT <alfresco-discord> <yreg> Hi @drazen04 you should be able to do that regardless of the conflict

2019-03-15 15:47:26 GMT <alfresco-discord> <drazen04> It gives me something like org.apache.pdfbox.pdmodel.PDDocument.getPage(I)Lorg/apache/pdfbox/pdmodel/PDPage;

2019-03-15 15:51:47 GMT <alfresco-discord> <yreg> Yes that's to be expected if you are depending on a version that is different from what ships with Alfresco

2019-03-15 15:52:23 GMT <alfresco-discord> <yreg> @drazen04 either you align to the Alfresco version of PDFBox

2019-03-15 15:53:08 GMT <alfresco-discord> <yreg> or you use the maven shade plugin or alike to rewrite the packages into your dependency so that that wouldn't clash with alfrsco's dependencies 😉

2019-03-15 16:12:14 GMT <alfresco-discord> <drazen04> Yes, that's what i though. So i can't use neither pdfbox and itext

2019-03-15 16:22:11 GMT <AFaust> ...or you isolate your classes / JARs via a class loader...

2019-03-15 16:31:49 GMT <alfresco-discord> <drazen04> I already tried but had same effects

2019-03-15 16:33:58 GMT <AFaust> Then there was something wrong with the attempt. To be fair though, class loader isolation is quite an advanced approach with various pitfalls. The recommendation by yreg to align with Alfresco bundled versions is the best one...

2019-03-15 16:57:52 GMT <alfresco-discord> <drazen04> That library doesn't have the merge utility that i need. But i'm making in other way

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco