I have a little project with an editor, some special need I had and which I hacked together in an afternoon. A co-worker looked over my shoulder (don't you hate that?) and said "Oh neat, but can it do X?"
So, to combine my ever-lasting need to learn new things and to enable some extensions on that little editor, I want to put some simple manipulation functions into there. And thus, I want to enable some scripting.
I found some tutorials about the ScriptEngine, that is not the problem. The problem is that it seems only to support JavaScript via Rhino. I have them all installed via apt-get: JRuby, Jython, Groovy, but the ScriptEngine doesn't know them.
What I would prefer is dropping a dependency in my build.sbt. Maybe someone knows a way to do that properly?
And if I resume to JavaScript, can I safely assume Rhino is installed on every machine with a JDK?