This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 14 Apr 24, 18:17 Last Post By: ctwist Threads: [ Previous | Next ]
ctwist

Posts: 483
Registered: 27-Sep-2003
"Apache Commons IO" upgrade
Posted: 13 Apr 24, 23:46
 
  Click to reply to this thread Reply
jAlbum includes Apache Commons IO 2.6, released in 2017.

The latest version is 2.16.1. Some features from 2.6 have been deprecated. Specifically, I am using the WildcardFileFilter.Builder class which was released in 2.12. I will back out of this change, to be compatible with 2.6.

Can jAlbum be upgraded to version 2.16.1?

The danger of waiting too long between releases is that a feature could be both deprecated and removed in the latest version.
davidekholm

Posts: 3,471
Registered: 18-Oct-2002
Re: "Apache Commons IO" upgrade
Posted: 14 Apr 24, 16:28   in response to: ctwist in response to: ctwist
 
  Click to reply to this thread Reply
I'll consider it. It's been my feeling that most of the stuff found in Apache commons io now have have decent equivalents in modern Java versions so I'd prefer to steer towards that in order that we can reduce the number of dependencies.

jAlbum's core doesn't seem to be using commons-io, but I notice that some of our skins (Tiger, Plain etc) do

Edited by: davidekholm on 14 Apr 2024, 16:28
JeffTucker

Posts: 8,128
Registered: 31-Jan-2006
Re: "Apache Commons IO" upgrade
Posted: 14 Apr 24, 16:47   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
FWIW, none of my skins uses Commons IO, so it's only some of the bundled skins that might need to be tested.
ctwist

Posts: 483
Registered: 27-Sep-2003
Re: "Apache Commons IO" upgrade
Posted: 14 Apr 24, 18:17   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Another option is to remove Commons IO from jAlbum, and require each skin to include it if needed. I do include it in my skin because it wasn't included in old versions of jAlbum, and I didn't realize that it had subsequently been added. I was alerted to the problem when my skin compiled but failed to execute.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums