|
Re: apache.commons.io dependency problem [message #905620 is a reply to message #905394] |
Thu, 30 August 2012 18:56 |
|
Peter
Can you open a bugzilla request for this?
Jason
On 8/30/2012 6:01 AM, Peter Courcoux wrote:
> In the org.apache.batik.pdf_1.6.0.v201105071520.jar which is used by the
> report engine in both version 4.2 and 3.7 a number of commons.io classes
> are included.
>
> If copying the contents of report-engine/lib folder to WEB-INF/lib these
> classes can mask classes from other commons-io jars included in a
> non-osgi web app.
>
> In the specific case I am looking at, I am seeing a NoSuchMethodError
> relating to a missing IOUtils.copy(InputStream, Writer) method which was
> introduced in Commons.io version 1.1, indicating that the included
> classes are very old.
>
> Questions:
> Is there a reason why later versions of commons.io cannot be used?
>
> If not, is it possible to update the offending batik jar to use a more
> recent version of commons.io, or better still remove those classes and
> provide a separate commons-io jar?
>
> Who is responsible for packaging the batik jar? Is this an eclipse.birt
> issue or should I be asking elsewhere?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03993 seconds