Thanks for the tips, factory.getEngineName() returns "Scala Scripting
Engine" so I tried that, but it also doesn't work. I have left a note at
Apache Sling Dev mailing list and hopefully I will get an answer.


      val mgr = new ScriptEngineManager()
      val factory = new ScalaScriptEngineFactory()

      println(factory.getEngineName()) // Prints Scala Scripting Engine"
      
      These don't work     
      val engine = mgr.getEngineByName(factory.getEngineName())
      val engine = mgr.getEngineByName("Scala Scripting Engine")
      
      This works
      val engine = factory.getScriptEngine()
     

--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/Trying-to-run-a-scala-script-tp2738919p2798996.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to