Adam Warski

21 Jan 2013

Updating to Scala 2.10: ElasticMQ and scala-macro-debug

elasticmq
metaprogramming
scala

As Scala 2.10 was released some time ago, it is high time to update the projects using 2.9: ElasticMQ and scala-macro-debug. Veripacks was already released using 2.10.

ElasticMQ

Version 0.6.3 of ElasticMQ has only one major change – it is built with Scala 2.10. That meant two code changes:

The second change is the only one visible to the user. The type-safe configuration that was made possible by Ostrich is great, but it doesn’t look as if a 2.10-compatible version is coming soon. Typesafe Config uses more traditional configuration files, with reasonable amount of verification (though it’s a bit funny that migrating to Typesafe’s library causes the config to stop being type-safe ;) ). Also, a good side of the change is that the server always starts up quickly – no need to compile the config file. Locally on my laptop start up takes about 0.5 seconds.

As always, the new release should be available in Maven Central soon, and links to download the standalone server packages can be found on the main page.

scala-macro-debug

I also updated the example Scala macros project, and deployed it to our repositories. If you don’t want to copy the code, you can now use the debug macro by adding:

resolvers += "SoftwareMill Snapshots" at "https://nexus.softwaremill.com/content/repositories/snapshots/"

libraryDependencies += "com.softwaremill.scalamacrodebug" %% "macros" % "0.0.1-SNAPSHOT"

Adam

comments powered by Disqus

Any questions?

Can’t find the answer you’re looking for?