Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 10621 invoked from network); 1 Jul 2010 17:03:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jul 2010 17:03:35 -0000 Received: (qmail 81248 invoked by uid 500); 1 Jul 2010 17:03:34 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 80947 invoked by uid 500); 1 Jul 2010 17:03:33 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Delivered-To: moderator for user@commons.apache.org Received: (qmail 8344 invoked by uid 99); 1 Jul 2010 16:24:31 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) MIME-Version: 1.0 X-Originating-IP: [217.71.242.228] In-Reply-To: <4C2CBF27.5030204@day.com> References: <4C2CBF27.5030204@day.com> Date: Thu, 1 Jul 2010 18:23:31 +0200 Message-ID: Subject: Re: Common Scala Bundles From: Reto Bachmann-Gmuer To: =?UTF-8?Q?Michael_D=C3=BCrig?= Cc: Commons Users List , clerezza-dev , dev@sling.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael The scala 2.7 based version in clerezza was based on the one from sling. The 2.8 version started from scratch. I'm not sure if the scala-incubator would allow to have thing in the maven central repo fast enough. Cheers, reto On Thu, Jul 1, 2010 at 6:15 PM, Michael D=C3=BCrig = wrote: > > Hi, > > Thanks for bringing this up again. The Scala scripting engine for Sling > evolved somewhat since it was copied over to clerezza: Sling dependencies > have been removed and factored out. AFIK the current version used in > clerezza does not fulfill some of the requirements of the Sling scripting > engine (configurability, abstraction of file system). However, since I wo= nt > be able to contribute much in the coming weeks, I think the version of > clerezza might well serve as a starting point. I'd be happy to merge the > changes required by Sling into it later on. > > However, I think the Scala incubator [1] might be a better place for the > Scala scripting engine. That way there is the chance for it making it int= o > the Scala distro some time in the future. > > Michael > > > On 1.7.10 17:47, Reto Bachmann-Gmuer wrote: >> >> In apache clerezza we need scala in a way that: >> - it can be used in an osgi container >> - it exposes the scripting interfaces as per JSR 223 (javax.scripting) >> >> At least the sling project has very similar requirements on the >> foundation of their scala support, so I think it would be good to pool >> this efforts and I'm wondering if this would best be pursued as an >> Apache Comons project. >> >> We have done a first implementation consisting of 3 bundles, 2 bundles >> seem to be analogous to the ones available here >> http://scala-tools.org/repo-releases/com/weiglewilczek/scala-lang-osgi/ >> (I didn't know about them originally, and the yhave the disadvantage >> of not being in maven central). Our implementations has no >> dependencies on other clerezza components. >> >> The source of our implementation is here: >> http://svn.apache.org/viewvc/incubator/clerezza/trunk/scala-scripting/ >> >> The current implementation is quite minimalistic and merging it with >> the best from the scala support in sling could bring big improvements, >> but as far as I know there's no other =C2=A0javax.scripting implementati= on >> for scala 2.8. >> >> Cheers, >> reto > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org