>      //This doesn't work
>      //val mgr = new ScriptEngineManager()
>      //val engine = mgr.getEngineByName("scala")
> 
> I think the problem is that I am unable to get a ScriptEngine for a given
> name but only by using the ScalaScriptEngineFactory. Can you let me know
> whether this is a Pivot issue or the way the Sling engine creates a
> ScriptEngine.

My guess is that either you are passing the wrong engine name or Sling isn't 
registering the engine properly with the script engine manager.

G

Reply via email to