Exporting songs from Easislides to MediaShout

Update, 2014: Something has changed, either in MediaShout or Easislides, and I understand that my software no longer works correctly with the current versions of these programs. I’m really sorry, but es2ms is no longer available.

Someone, sometime may want to do export all their songs from Easislides (free but limited song projection software) to MediaShout (more expensive but rather less limited). Here’s how you do it:

  • Make sure you have the Java Runtime Environment installed – get it from here if you haven’t.
  • Download this software I wrote. Place es2ms.jar in a convenient folder somewhere.
  • In Easislides go to Tools, Export, select the songs you want to move across (if you want them all, tick both “Tick All” boxes), then click Export.
  • Rename the file easislides.xml and move it into the folder containing es2ms.jar
  • Double-click es2ms.jar – a file called mediashout.txt will be created in the same folder.
  • In MediaShout go to File, Song Library, Import, From Files.., in the next dialog choose “ShoutSinger text file”, click Next, browse to the mediashout.txt file you just created, click Next, and Bob’s your uncle.

The source code is also available. All distributed under the Apache License version 2.0.

Tedious Spring error message, and its solution

This is a public information broadcast for the benefit of developers using Spring MVC with annotation-driven configuration.

I was a bit stumped earlier by this error on startup of my web application:

java.lang.IllegalStateException: Annotation-specified bean name ‘enterOrderNumberController’ for bean class [uk.ac.bham.ework.eb.controllers.EnterOrderNumberController] conflicts with existing, non-compatible bean definition of same name and class [uk.ac.bham.ework.eb.controllers.bookingoperations.EnterOrderNumberController]

followed by a lovely stack trace. The webapp had been running fine locally, but died as soon as I copied it across to the test server. Here is the explanation. Look carefully at those two class names in the first line again:

  • uk.ac.bham.ework.eb.controllers.EnterOrderNumberController
  • uk.ac.bham.ework.eb.controllers.bookingoperations.EnterOrderNumberController

Not the same, are they? I had been doing a little neatening-up, moving EnterOrderNumberController into a different package. On my local box, the IDE had kindly deleted the compiled version of uk.ac.bham.ework.eb.controllers.EnterOrderNumberController from WEB-INF/classes. On the test server, I had done an svn update and then just run the Ant build script, and my not-very-well-written build.xml had not cleaned up the debris from previous builds.

So I had two classes called EnterOrderNumberController in my classpath, and Spring was trying to instantiate both, but finding they both needed the same bean name, which wasn’t allowed. The solution was to get rid of the old, now-superfluous one.

The build script has now been modified.

Thank you for listening to this public information broadcast.

Unsubscribing

Well, back in February I blogged about using the RSS feed of the ESV Daily Reading Bible, and the interesting graph they have on the ESV Bible Blog of how many people are using the feed.

I am about to unsubscribe from the feed! Why? Well, some time ago I ended up buying the (real, paper-based) ESV Daily Reading Bible from Amazon. Somehow paper just works better for me for this. But I kept the RSS subscription going so the ESV folks wouldn’t think I’d given up on the daily Bible readings.

But then I noticed they say that they read nearly every blog post they can find that mentions the ESV, so thought if they read this it’s probably safe to unsubscribe.

I notice that Amazon UK now has the Daily Reading Bible listed – at the time, I had to order from Amazon.com which took nearly two months. There’s some sort of complication with selling US editions of the ESV in the UK, something to do with Harper Collins having the publishing rights to the Anglicised version. There doesn’t seem to be an Anglicised ESV Daily Reading Bible, which is a shame as the format works really well (except in a very few cases where the little notes in the margins telling you what to read each day are in slightly the wrong places).

I do hope that the ESV Study Bible will be available in UK bookshops in due course.