Le Monday 12 Mar 2012 à 09:14:50 (-0400), Raman Gupta a écrit : > On 03/12/2012 08:48 AM, Guillaume Yziquel wrote: > > My team has gotten Scalate 1.6.0-SNAPSHOT working on Scala 2.9.1 on > Karaf. See this stackoverflow posting for details and links to the > Scalate patches we created (though our Github pull requests have > essentially been ignored by the Scalate team): > > http://stackoverflow.com/questions/8935796/getting-the-scala-compiler-to-work-inside-an-osgi-runtime/9048302#9048302
Yes. Your post has been very useful in the past to get into the topic of osgified Scala compiler bundles. I currently prefer creating OSGi bundles on the fly rather than purely compiling Scala code into ad-hoc instances. The main reason is that when I generate bundles, I do know where they fit in the OSGi hierarchy. If I generate instances via Guggla or the Scalate scripting engine, I wonder where these instances fit in the OSGi hierarchy, and specifically I do not know how safe it is to access other bundles from the compiled code. You perhaps have valuable insight on this topic. Please feel free to share it. -- Guillaume Yziquel Crossing-Tech Parc Scientifique EPFL
