Archive for the ‘Commons’ Category

Commons Blog

Tuesday, July 18th, 2006

I’ve been saying “I need to start a blog on Jakarta Commons things” for ages, so this weekend I finally got around to doing so. It’s at http://www.featheredblogs.org/blogs/page/commoners and hopefully I can lure some of other Commons coders into doing some authoring.

I’ve got three categories so far. The first is pretty simple, “Releases”, in which I pretty much just cut and paste the announcement from the project. It shouldn’t be a huge surprise to anyone though as I’ve got a bookmark list in the navbar displaying the projects who are currently working on release candidates.

The second category is “In the Sandbox”, the idea here is to interview people bringing new things into the sandbox. Things tend to hide away in the sandbox, so I’ve a few canned questions for when the project’s website is up and available.

The third category is “Tips”. It’s as simple as it sounds. Happy, useful little tips on Jakarta Commons. I used to write such things for CNet/Techrepublic, so it’ll be fun to write them again (and not have a painful deadline).

One last thing to mention is the Triage link. It’s not cron’d yet, but the purpose is to pull together the issues in the Commons project that don’t have a fix version yet and display them in a single report. By remembering the last report, a changes email can be sent to commons-dev too.

Common and 1.5

Friday, June 23rd, 2006

Stephen Colebourne blogs about Commons Collections and JDK 5.0 Generics - should Collections have a new release which embraces generics.

One of the replies is that all Commons components should move to Java 5 - to which I give a very strong +1. If people need releases and branches for old versions to be maintained, then it’s pretty easy to make bugfix releases off of a branch, but we need to keep things interesting to maintain community involvement. Maintaining Java 1.2 code is quite irritating.

Multidoc recap

Wednesday, May 24th, 2006

Played with multidoc a bit again tonight. Taking Antony’s modifications and bending them to my needs: http://people.apache.org/~bayard/multidoc-jnr/.

There are 104 different javadocs there, nicely arranged by artifact and version - with jardiff reports for each pair of consecutive javadocs.

Jakarta Commons moves to JIRA

Tuesday, May 16th, 2006

Commons is now using the ASF JIRA, though the websites are going to slowly reflect this move I suspect. I just made a stab at bringing Lang up to date.

It was quite an interesting post-migration. The data went over happily, but then I wanted to turn every component into a project of its own and making that somewhat easier took a combination of Jelly and Python scripts, and I still had to manually move all 37 groups of issues over. Three times when you factor in the two failed attempts on Saturday.

Today in Commons

Thursday, March 16th, 2006

Notable

33965 [lang] Can’t XMLDecode an Enum
An interesting one - it’s referring to the Lang version of an Enum rather than the version in Java in later JDKs. Appears to be only on JDK 1.5 - by the sound of it it’s related to another Lang bug to do with a change in how classes are getting initialised in 1.5, issue #36666.
36157 [VFS] post 1.0, add get rid of deprecation warnings in FT…
The beginning of a VFS-fest tonight. This one involves a change to not use the deprecated API of Commons Net.
37991 [vfs] Local filesystem provider returns 0 from URLConnect…
Missing implementation.
38122 [vfs] getChildren() faild on missing folder access rights
Missing implementation.
38491 [vfs] / logs warning instead of throwing …
Mario added a failonerror attribute.
38659 [VFS] Maven repository SNAPSHOT upgrade
Comment discussion on how to get the jar into the snapshot repository.
38688 [net][PATCH] TelnetInputStream.read sometimes hangs if re…
Rob Hasselbaum is doing a great job dealing with a bug on a mature product - [net] doesn’t have much in the way of development so it’s hard to get an active conversation going on the matter, but Rob has pushed on and submitted a patch to his original bug report.
38846 [VFS] New provider: iso9660
Nice catch - a patch offered which depends on loopy, an LGPL library on sourceforge. Not something we can do currently.
38847 [VFS] New provider: crypt
Good questions from Mario - why does the patch have copyright statements in and does anyone else hold a copyright on the code. I’ve bumped it up a level by asking that we go further and get the reporter to provide a software grant. It’s painful - Robert’s currently undergoing pain discovering how to handle this with Commons Pool - but it’s something we need to do if we’re going to try and exist in a way that works with the law (rather than ignoring it).
38929 [configuration] Support event listeners for configurations
More discussion on this enhancement - always a bit sucky to have discusions like this in the issue tracker, doesn’t seem to work as well as the list; but frankly I think it’s just good that there’s activity.
38935 [VFS] remove commons-collections dependency from ram prov…
Always good to have less dependencies on a component. Some comments on @author tags too - which I stumbled into with a half-awake response.
38959 [configuration] Drop 1st class dependency on commons-logging
More discussion here too.

New

38987 [dbcp] commons dbcp does not supports Firebird DB.
Most peculiar, didn’t know [dbcp] had specific support for databases, I assumed it just sat on top of JDBC. The user has found the issue via DB Torque.
38992 [daemon] JSVC does not support all the standard java 5.0 launcher …
Interesting to see what response there is on this one - not sure how active [daemon] is - which is no indication of inactivity, I thought [JEXL] was inactive and it turned out they’d been busily being active for the last couple of months. Issue is asking for a few more parameters to be passable to the JVM.

Summary

The story of the day is [vfs] activity. It will be interesting to see if the [dbcp], [daemon] and [net] issues surface again - are those components active or slumbering.

Today in Commons

Wednesday, March 15th, 2006

Notable

38659 [VFS] Maven repository SNAPSHOT upgrade
Request for a new snapshot on the ibiblio maven repo. This is something which we need to get a bit more organized about - shouldn’t have snapshots going to ibiblio.

New

38959 [configuration] Drop 1st class dependency on commons-logging
Suggestion from Jorg Schaible (who’s been very active in Commons recently) to drop the logging dependency from configuration (and beanutils I think). Not sure I understand yet, seems to be a lot of logging usage.
38963 [dbutils] BeanListHandler and BeanHandler fail to support…
A dbutils fix for java.sql.Date support. Seems worth applying.

Summary

Quiet day, wonder why?

Today in Commons

Tuesday, March 14th, 2006

Notable

38894 [digester] ParserFeatureSetterFactory uses a wrong method…
Simon Kitching has resolved a bug in Digester - well half resolved, the less useful, more painful half has been documented in the javadoc. It was one of those lovely issues when XML implementations clash.
38907 [dbutils] ScalarHandler subclasses that return Integers a…
Greg Hawkes suggests an enhancement to DbUtils (Int and Long ScalarHandlers). There’s not a lot of maintenance going on in DbUtils at the moment - not much since February 2005, so I’m not sure when this would get looked at. It’s one I’d like to find time for, though I’d also like to investigate Brian McCallister’s JDBI API - get him to bring it to db.apache.org (he’s the chair) and fold Commons DbUtils into it.
38911 [lang] StringUtils#getLevenshteinDistance() performance i…
This was cool. Cedrik Lime pointed out an unapplied patch from October 2003 - and now it’s applied.
38927 [io] Tests Fail on Windows 2000
Few more comments on Niall’s Windows IO problems. Nothing to report though.
38929 [configuration] Support event listeners for configurations
This was a new enhancement suggestion yesterday - and today there were some comments on the idea. All quite positive.
38944 [email] Please add Email.setReplyTo( java.util.Collection…
dIon went ahead and added the missing method.

New

38953 [configuration] clone() implementation for all configurat…
A request from the mailing list for configuration to have a systematic approach to cloning the various configuration classes. Sounds like it’ll happen.

Summary

Positive - except for the unlikelyness of any activity on the [dbutils] issue (and other ones in Bugzilla).

Today in Commons

Monday, March 13th, 2006

Notable

33591 [dbcp][PATCH] Connection leak in PoolableConnection.close…
Sandy and Phil knocking off another issue on the way to a [dbcp] release.
36799 [dbcp] Docs inaccurately describe default value of testOn…
Javadoc improvement.
37090 [dbcp] Old Xerces version in project.xml
Some specific XML dependencies that have been yanked from the Maven build.
37359 [PATCH] SharedPoolDataSource - close() method closes poo…
And lastly, a fourth patch applied by the [dbcp] juggernaut.
38927 [io] Tests Fail on Windows 2000
Niall’s ended his invetigations into build problems on Windows 2000.

New

38936 [fileupload] FileUploadBase::parseRequest has to be more …
Ken Yee suggests an enhancement to [fileupload] to make it do as much as possible in the face of errors.
38939 [email] Errors when sending MultiPartEmail with another e…
Dave Cherkassky reports a bug in [email].
38942 [io] LockableFileWriter issues
Stephen reports and fixes a bug in [io]. This is a pattern we’ve come to refer to as ‘internal affairs’ at work :)
38944 [email] Please add Email.setReplyTo( java.util.Collection…
Dave Cherkassky also suggests an enhancement to the [email] API.

Summary

[dbcp] charging on is the message of the day.

Today in Commons

Sunday, March 12th, 2006

Notable

29716 [configuration] Disabling string splitting
Housekeeping for a bug that was fixed months ago via another issue.
33591 [dbcp][PATCH] Connection leak in PoolableConnection.close…
Sandy McArthur, a new Commons committer has gone ahead and applied James Ring’s patches to fix this one.
37359 [PATCH] SharedPoolDataSource - close() method closes poo…
Phil applied a fix to this one. Another [dbcp] issue resolved.
38073 [dbcp] JNDI problems with SharedPoolDataSource
Again with the [dbcp], Phil applied a patch from Sandy, which was a modification of an original patch from Thomas Fischer. Listening to the mailing list, it sounds like a [dbcp] release will have to wait on a [pool] release, but that’s in the works.
38920 [cli][PATCH] cli2.commandline.Parser.parseAndHelp need no…
A patch from James Ring for [cli] being applied by yours truly. This is cleanup for a previous patch that James had applied to simplify the [cli] v2 API.

New

38927 [io] Tests Fail on Windows 2000
Niall’s running his own show here with some Windows based test failures he’s found in the upcoming release of [io]. Some are getting resolved, but I think from reading this that there are still some left to deal with.
38929 [configuration] Support event listeners for configurations
A new API enhancement from Oliver Heger.
38935 [VFS] remove commons-collections dependency from ram prov…
A patch to remove a dependency on [collections] from VFS. A common problem at Commons - eating our own dogfood causes pain to the users, so often you see inlined code from another component, as in this example (I presume).

Summary

And that’s it for today. Lots of activity.

Today in Commons

Friday, March 10th, 2006

I spend my days checking up on the issue reports in various projects - the major focus being on Struts/Axis/Spring/Hibernate. So why not do a Commons one on my blog?

Today in Commons there were 5 modified issues. 2 new, 3 notable.

New

38912 - An enhancement discussion on a version of java.util.Service for Commons Lang.

38917 - A bug with much in the way of patches in Commons Daemon - in which the Windows prunsrv prohibits the use of non-alphanumeric names.

Notable

38073 - Continued discussion on a issue in Commons DBCP to do with JNDI problems with the SharedPoolDataSource. It’s a few months old and now seeing some action with DBCP looking release-wards.

38401 - A bug in DurationFormatUtils in Commons Lang. Yu Peng has submitted a patch for a gnarly bug; least I thought it was gnarly when I was looking at how to fix it surgically a couple of nights ago.

38885 - An enhancement for Commons JCI; sounds like it’ll go in once a dependency is updated.

Summary

All in all, a nice haul. Positive outcomes, quick responses.