Hi Janandith,
Looking at the pom.xml in your attachement it seems, that you do NOT
include the scala library in your bundle. Hence the the scala library
cannot be found.
I suggest you extend the <instructions> element of the
maven-bundle-plugin configuration such that the scala libary is embedded
in the bundle:
<Embed-Dependency>
scala-library
</Embed-Dependency>
Later you may also need the scala-compiler embedded, if you are going to
support on-demand-compilation, I suppose.
Hope this helps.
Regards
Felix
Am Sonntag, den 08.06.2008, 23:47 +0530 schrieb janandith jayawardena:
> Hi,
>
> When Sling/Scala bundle loads in Sling it gives an exception saying it
> cannot load "scala.tools.nsc". I want to use the library to use Scala
> Interpreter and Compiler. How can I fix this problem. I have attached the
> screen shots showing the error to the JIRA issue created for the
> project ( JIRA 510 ) because attachments are not permitted in the mailing
> list.
>
> Also I would like to know the importance of start level when loading a
> bundle. I set this to "1" when loading Sling/Scala bundle. Is it
> correct .
>
> janandith.