Re: Upgrade to 5.0.0 resulted in IOException message

Bryan Coleman <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <CAFU0Y=rzVcYg-AD6afRB12J9ZiQL5CPsj1wA+pm+54DTM5srWQ@mail.gmail.com>
Just wanted to circle back on this issue.  With the feedback/explanation, I
was able to merge service files to correct the behavior eradicating the
IOException.

Thank you!

Bryan

On Sun, Feb 7, 2021 at 3:07 PM Nick Burch <[email protected]> wrote:

> On Fri, 5 Feb 2021, Bryan Coleman wrote:
> > That makes sense.  I am using an ant script to unjar individual jars and
> > then to create a mega jar from my classes and those APIs.  I am keeping
> the
> > services files.  That said, I noticed that both the main poi and the
> > poi-ooxml jar have services files with the same name; however, different
> > content.  What is the proper way to include those?  Should I create one
> > file that contains the content from both
>
> When merging jars with service files, you need to append the files with
> the same name together - they contain one class file per line so you need
> all the lines
>
> Nick
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.