Hi, Am Sonntag, den 01.08.2010, 14:07 +0200 schrieb Reto Bachmann-Gmuer: > Hi Atle > > In the clerezza projects we're using more and more scala, the biggest > disandvantage for me is that the maven-scr-plugin doesn't work for scala so > I've to write the ds component descriptor by hand. We generallay don't use > objects but classes, having ds caring about creating and activating the > instances.
I am by no means a Scala expert (whatever you will say now, but I am just scared by the syntax ;-) ) So, coming back to the scr-plugin problem: The plugin (currently) reads the source files with the help of the QDox library. So I would assume that the inability of the plugin to process Scala is related to this situation. If you would know of a tool to read Scala source files for consumption by the plugin, you are welcome to guide us there (or even better provide a patch to use it ;-) ). I think a similar problem exists for Groovy (and yes, it would be nice to have something there, too ;-) ). Regards Felix > > > Cheers, > reto > > On Sun, Aug 1, 2010 at 8:37 AM, Atle Prange <atle.pra...@gmail.com> wrote: > > > Thank you for the replies, my journey can continue, although with a sligth > > blow to my self esteem, i thought i was an experienced programmer, i guess > > i > > have to read more books.... > > > > > > -atle > > > > On Sat, Jul 31, 2010 at 11:02 PM, Christopher Brind <bri...@brindy.org.uk > > >wrote: > > > > > Have never used Scala myself, but Peter Kriens discussed this in his blog > > > recently: > > > http://www.osgi.org/blog/2010/07/scala-components-vs-osgi.html > > > > > > Hope it helps in some way. > > > > > > Cheers, > > > Chris > > > > > > > > > On 31 July 2010 21:58, Atle Prange <atle.pra...@gmail.com> wrote: > > > > > > > Hi, > > > > > > > > i am about to embark on a journey involving scala and osgi. But it > > > appears > > > > to me (ref. my last question on this list regarding static references) > > > that > > > > it might not be a good idea, since the otion of scala objects actually > > > are > > > > implemented as singletons, and therefor never will be cleaned up after > > a > > > > bundle is unloaded. Does anybody here have experience with scala on > > osgi, > > > > and could give me a hint on this matter? > > > > > > > > -atle > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org