Nabaztag Scala Library
A few months ago, I have submited to google code a library written in Scala which send simple commands to a Nabaztag.
The library is pretty alpha, I’m not fluent in Scala yet. So they is probably a lot of things to refactor.
The library is build using maven-scala-plugin, you should be setup in a few seconds.
I was pretty happy of the library until I tried to used it from the java side, and feel the horror. I especially thought that they were some kind of “conversion” between common java type like an ArrayList into the equivalent in Scala. There is not, I was forced to use a Scala List from the java side…
After discussing it with scala fans there is two suggestions, avoid exposing raw Scala List and provides method to add, delete etc… or provide a Java interface binding nicely to the scala code.
I have not choosen yet which way to go.
This library is currently used daily during our daily build, it’s part of a TeamCity plugin sending commands to the nabaztag when something bad happen to our product build lines.
I may give away the corresponding teamcity plugin if time permits.
It especially good now, that the rabbit is saved ( in French )
Link :








