Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 9956 invoked from network); 7 Jul 2010 14:23:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 14:23:25 -0000 Received: (qmail 8262 invoked by uid 500); 7 Jul 2010 14:23:25 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 7950 invoked by uid 500); 7 Jul 2010 14:23:23 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 7929 invoked by uid 99); 7 Jul 2010 14:23:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 14:23:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.duerig@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO mailgw3.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 14:23:15 +0000 Received: from bslm-106.corp.day.com (unknown [10.0.0.96]) by mailgw3.day.com (Postfix) with ESMTP id CF67C170D4 for ; Wed, 7 Jul 2010 16:20:16 +0200 (CEST) Message-ID: <4C348D83.5@day.com> Date: Wed, 07 Jul 2010 16:21:55 +0200 From: =?UTF-8?B?TWljaGFlbCBEw7xyaWc=?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: dev@felix.apache.org Subject: Re: Felix Scala Project References: <4C339B79.7060508@ungoverned.org> <4C33AC08.7010209@day.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 7.7.10 9:28, Reto Bachmann-Gmuer wrote: > 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. Aside: the Scala scripting engine currently used in Apache Sling has such support. That is, it can be used as standalone scripting engine exposing the ScriptEngineFactory via meta-inf/services and it also exposes ScriptEngineFactory as an OSGi service when installed into an OSGI container. For versatility purposes I think we should integrate this (and some other features) into the "new to be" Scala scripting engine based on Clerezza. Michael > > Cheers, > reto > > On Wed, Jul 7, 2010 at 12:52 AM, Guillaume Nodet 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 >> 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/%3CAANLkTikOyH8gNQ4oSd2DBoUoEVk2NqwMMeYei-4hmFyw@mail.gmail.com%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 >> >