I found that factory.getEngineName() returns "Scala Scripting Engine" so I
tried that, but it also doesn't work. If this is not the right place to post
this question please let me know. Thanks for any help on this. 


      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-sling.73963.n3.nabble.com/Using-scala-script-engine-in-Apache-Pivot-tp2795070p2799237.html
Sent from the Sling - Dev mailing list archive at Nabble.com.

Reply via email to