Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 74438 invoked from network); 21 Sep 2007 13:34:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2007 13:34:05 -0000 Received: (qmail 99900 invoked by uid 500); 21 Sep 2007 13:33:50 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 99846 invoked by uid 500); 21 Sep 2007 13:33:50 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 99827 invoked by uid 99); 21 Sep 2007 13:33:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 06:33:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gnodet@gmail.com designates 209.85.128.188 as permitted sender) Received: from [209.85.128.188] (HELO fk-out-0910.google.com) (209.85.128.188) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 13:33:50 +0000 Received: by fk-out-0910.google.com with SMTP id b27so808484fka for ; Fri, 21 Sep 2007 06:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=9agm+/Fmie8g7WlEbutNc0LjdimR9lPLQxVN0bT5GDk=; b=OPfhBawu0m+0jKUe0dGhG8HySgRhT4rb/iHQQCblcJJohK8vR0kuk97GPCfSVQrR3bXy45Mlf6uG37bfcF8QWQa7yDnIRjrG5OblpOn0B8XluZZ3Xx1Dlr5pEmN1TtHB1bgvr7PfwvpgRWRd8vKTdBm6taexeoKcCn5r20cj5Aw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ME8qeaNE/qgi083i/osPNa/gGvSiBj33oPtUohPZuzssnks1Eezho1qmqlowhEZP4U5theOWnQ8SIuTO2Wl0k5J9PUTg/iEvkL+otznD/obBY3asWGVFxVbaOmTiFxr4cnKymm/Lp6d5yuuV9Anw5CMRTWRizNiniuwiEwCDkug= Received: by 10.82.183.19 with SMTP id g19mr2872809buf.1190381608740; Fri, 21 Sep 2007 06:33:28 -0700 (PDT) Received: by 10.82.183.3 with HTTP; Fri, 21 Sep 2007 06:33:28 -0700 (PDT) Message-ID: Date: Fri, 21 Sep 2007 15:33:28 +0200 From: "Guillaume Nodet" To: dev@geronimo.apache.org Subject: Re: OSGifying org.apache.geronimo.specs In-Reply-To: <487a994c0709210629n4f3c14e8vd61235e19bf31a40@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <487a994c0709210629n4f3c14e8vd61235e19bf31a40@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Well, I previously used an OSGified bundle of stax-api that only contained java.xml.stream packages. The geronimo one contains other classes in javax.xml* packages, so I've first tried to export all these packages from the bundle. When I did that, I end up with the following exception in my test: Caused by: java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException I've just changed the directive to export only javax.xml.stream* packages in the geronimo jar and it worked well. I have no clear explanation for that yet though ... On 9/21/07, Karl Pauls wrote: > On 9/21/07, Guillaume Nodet wrote: > > So I've just commited a patch for everybody to review. > > I have tested some of the bundles inside servicemix 4.0, so at least > > i'm confident it won't break servicemix ;-) > > Seriously, they seem to be ok, though i had to limit the exported > > package from stax-api to javax.xml.stream* to not clash with other > > packages from the system bundle (I suppose this is the reason). > > Can you maybe elaborate a little bit on what you mean by clash? In > case you are talking about what gets embedded and what not there is > the -split-package directive that you can use to select which provider > you want to use or how to merge split-packages. > > regards, > > Karl > > > > See http://svn.apache.org/repos/asf/geronimo/specs/trunk/ > > > > On 9/21/07, Guillaume Nodet wrote: > > > For ServiceMix 4.0, which will be based on OSGi, I will need to have > > > OSGified versions of some of the spec jars that geronimo provides. > > > It's quite easy to do in ServiceMix (see > > > http://svn.apache.org/repos/asf/incubator/servicemix/branches/servicemix-4.0/bundles/ > > > for servlet, j2ee-management, jms mainly), but I think it would be > > > more useful for other projects if the specs jars were bundles > > > themselves. > > > > > > This is quite a simple process that can be done incrementally without > > > any real side effect and low risk of regression. So unless someone > > > objects, I'd like to start working on that. > > > > > > -- > > > Cheers, > > > Guillaume Nodet > > > ------------------------ > > > Blog: http://gnodet.blogspot.com/ > > > > > > > > > -- > > Cheers, > > Guillaume Nodet > > ------------------------ > > Blog: http://gnodet.blogspot.com/ > > > > > -- > Karl Pauls > karlpauls@gmail.com > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/