I made a simple Eclipse RCP client, and now I want to turn it into a Scala application. Adding the Scala nature allows the IDE to compile the code, but it won't run because Scala is not available as an OSGi bundle. Searching the web only returned contradictory information, which seems to mean that there is no "standard" way to do it. I have found a recent post which says to use this link:
scala-eclipse-toolchain-osgi-2.9.0-1
But Eclipse says: "There are no available items there". I can go there with the browser, and see there is stuff. But I don't know the underlying mechanism of OSGi, so I can't tell what is wrong. I could create myself a bundle from the jars, but this is stupid. Scala must be already available somewhere as a pre-defined OSGi bundle!
[EDIT] I tried creating the bundle myself, as I had done with the Slick-Util, but it didn't work either. This does not make logical sense. I don't get how creating a bundle from a Jar can work for Jar A, but not for Jar B. I even copied the working self-made Slick-Util bundle, replaced the jar with scala-library.jar, and updated the bundle name and other setting everywhere, and it still will not work. My guess is that there is something wrong with the scala-library.jar itself, that prevents Eclipse from being able to use it. Maybe what is in it's Manifest?