As the JSR 223 scala support currently in Clerezza only runs on OSGi we don't have to care about non-osgi meta-inf/services support, it simply exposes a ScriptEngineFactory as an osgi service.
Cheers, reto On Wed, Jul 7, 2010 at 12:52 AM, Guillaume Nodet <[email protected]> wrote: > What's your plan for using JSR 223 in OSGi ? In ServiceMix, we had to > hack the API a bit to allow discovering the providers inside bundles. > That way, we can support existing jsr 223 providers, such as groovy, > jruby, javascript, etc... Adding scala would be awesome. > > On Wed, Jul 7, 2010 at 00:19, Michael Dürig <[email protected]> > wrote: > >> > >> So is the proposal to have some sort of Scala-based console/shell? Does > >> this mean you can do Scala-based scripting and syntax? Is this something > >> that could simply be another shell front end for the Gogo runtime or is > >> it somehow completely different? > > > > A Scala based Shell would be a nice application for the Scala scripting > > engine. Combined with Scala Modules [1] such a shell could be quite > > powerful! > > The Scala scripting engine is more general however. It is a JSR 223 > > (javax.scripting) compliant scripting engine for Scala which works from > > within an OSGi environment. > > > > Michael > > > > [1] http://wiki.github.com/weiglewilczek/scalamodules/ > > > >> > >> -> richard > >> > >>> Micheal and I are both already Apache Committers and we would like to > >>> do the > >>> initial contributions to the project basing on the code currently in > >>> clerezza[2] which has been kept free from any dependency on clerezza > >>> modules. > >>> > >>> Cheers, > >>> reto > >>> > >>> 1. > >>> > >>> > http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201007.mbox/%[email protected]%3e > >>> > >>> 2. > http://svn.apache.org/viewvc/incubator/clerezza/trunk/scala-scripting/ > >>> > > > > > > > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com >
