Hi, Thanks for throwing me a lifeline Bertrand.I'll write tests and proceed with the rest until a solution is found. I think Bertrand it would be best to ask from scala folks if possible. I posted about this in the scala mailing list some time ago but there was no positive reply. You can check this post by using the following link,
http://www.nabble.com/Help-solve-exception-thrown-when-calling-interpreter-in-scala.-td17753046.html#a17753046 Also I found the following URL's which directed me to my conclusion. [1] https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/build.examples.xml This shows that the path to the library is given in the xml. [2] http://www.nabble.com/Scala-Interpreter-inside-OSGi-td15733281.html This document shows the exception thrown when calling the Interpreter and it shows an example of setting the library path using a string. [3] http://www.nabble.com/Compiler-API-td12050645.html#a12051708 The "error" passed to Settings in the code given uses a guessed path according to whats defined in scala.tools.nsc.Settings. I realised this by looking at https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/src/compiler/scala/tools/nsc/Main.scala A couple of questions more. 1. The engine needs to work with nodes so should I follow the path taken by the java script engine ? 2. To parse scala code within html can I use the filtering shown in EspReader.java in javascript engine ? Thanks Felix and Karl for sharing your views . regards, janandith.
