Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » apache.commons.io dependency problem(Report-engine libs include old commons.io version)
apache.commons.io dependency problem [message #905394] Thu, 30 August 2012 10:01 Go to next message
Peter Courcoux is currently offline Peter CourcouxFriend
Messages: 10
Registered: July 2009
Junior Member
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?
Re: apache.commons.io dependency problem [message #905620 is a reply to message #905394] Thu, 30 August 2012 18:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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?
Re: apache.commons.io dependency problem [message #905649 is a reply to message #905394] Thu, 30 August 2012 20:04 Go to previous messageGo to next message
Peter Courcoux is currently offline Peter CourcouxFriend
Messages: 10
Registered: July 2009
Junior Member
Hi Jason.

Yes, I will post a Bugzilla request.

Thanks,

Peter
Re: apache.commons.io dependency problem [message #906109 is a reply to message #905649] Fri, 31 August 2012 16:26 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Thanks Peter


On 8/30/2012 4:04 PM, Peter Courcoux wrote:
> Hi Jason.
>
> Yes, I will post a Bugzilla request.
>
> Thanks,
>
> Peter
Re: apache.commons.io dependency problem [message #906493 is a reply to message #906109] Sat, 01 September 2012 17:02 Go to previous messageGo to next message
Peter Courcoux is currently offline Peter CourcouxFriend
Messages: 10
Registered: July 2009
Junior Member
Jason,

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388514

Thanks,

Peter
Re: apache.commons.io dependency problem [message #908012 is a reply to message #906493] Tue, 04 September 2012 14:41 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Peter,

Will you be able to post the bug to the Orbit project?

Jason

On 9/1/2012 1:02 PM, Peter Courcoux wrote:
> Jason,
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=388514
>
> Thanks,
> Peter
Previous Topic:Calculates with 2 Data Sets
Next Topic:Applet jar requirements for BIRT (4.2) ReportEngine
Goto Forum:
  


Current Time: Sat Nov 09 01:45:33 GMT 2024

Powered by FUDForum. Page generated in 0.03230 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top