Archive for the ‘mina’ Category

Minor Mina Irritation

Monday, February 12th, 2007

I’m looking/working through the Apache Mina examples and project to see if it’s a tool that will do a job for me. So I downloaded the project, extracted it and ran through the suggested Maven2 targets suggested in the Mina developer guide. No problems there as Maven2 did it’s thing with no pain what-so-ever. The I fired up eclipse and created a new project and imported Mina which was easy. However, there were lots of compile errors because the concurrent backport classes could not be found, amongst other things. This must be downloaded from a separate place (this requirement is listed in the FAQ). Then you need to modify the Mina Eclipse project to reference the backport-util-concurrent.jar, which is all fairly simple but the irritation doesn’t stop there. There are still unresolved references to JUnit’s assert (3.8.1 is referenced in the pom.xml but I downloaded 3.8.2) and other compile problems to be fixed. I think this time it’s the SpringFramework jars that I need.

So Mina can’t and probably shouldn’t ship these associated jars but there could be a comment on the Developer Guide saying that these jars are required and where to get them should you be using Eclipse. It’s a small irritation but one that I don’t think is mandatory for all to go through, especially those looking to use Mina for some task.

I’m still not up and running and admittedly I’ve only spent 15 minutes on the task, so when I get it running I’ll list the other requirements to get the Eclipse build working. I suspect it’s just the jars referenced above. All I wanted to do was run a few of the examples.