Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 228CB11E15 for ; Thu, 26 Jun 2014 18:36:49 +0000 (UTC) Received: (qmail 20852 invoked by uid 500); 26 Jun 2014 18:36:49 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 20807 invoked by uid 500); 26 Jun 2014 18:36:49 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 20768 invoked by uid 99); 26 Jun 2014 18:36:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 18:36:48 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS,TVD_FW_GRAPHIC_NAME_MID X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tjwatson@us.ibm.com designates 32.97.110.149 as permitted sender) Received: from [32.97.110.149] (HELO e31.co.us.ibm.com) (32.97.110.149) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 18:36:43 +0000 Received: from /spool/local by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 26 Jun 2014 12:36:18 -0600 Received: from d03dlp03.boulder.ibm.com (9.17.202.179) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 26 Jun 2014 12:36:16 -0600 Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id EF92219D804E for ; Thu, 26 Jun 2014 12:36:06 -0600 (MDT) Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by b03cxnp08027.gho.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s5QIZAsw590292 for ; Thu, 26 Jun 2014 20:35:10 +0200 Received: from d03av01.boulder.ibm.com (localhost [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s5QIaFO6024463 for ; Thu, 26 Jun 2014 12:36:15 -0600 Received: from d03nm120.boulder.ibm.com (d03nm120.boulder.ibm.com [9.63.40.226]) by d03av01.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s5QIaF9t024456 for ; Thu, 26 Jun 2014 12:36:15 -0600 In-Reply-To: References: <53AAC69F.2010808@die-schneider.net> <53AACAD0.2060109@die-schneider.net> <53AACDBE.6080703@nanthrax.net> <53AAD42B.5040908@die-schneider.net> <53AAD992.9090305@die-schneider.net> Subject: Re: Problem with Manifest of current aries bundles: Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.6))" X-KeepSent: 8019FAF7:4EFF7754-87257D03:006569F4; type=4; name=$KeepSent To: dev@aries.apache.org X-Mailer: IBM Notes Release 9.0.1SHF211 December 19, 2013 Message-ID: From: Thomas Watson Date: Thu, 26 Jun 2014 13:36:14 -0500 X-MIMETrack: Serialize by Router on D03NM120/03/M/IBM(Release 9.0.1IF1|November 26, 2013) at 06/26/2014 12:36:15 MIME-Version: 1.0 Content-type: multipart/related; Boundary="0__=08BBF790DFF6EF648f9e8a93df938690918c08BBF790DFF6EF64" X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14062618-8236-0000-0000-0000036865F8 X-Virus-Checked: Checked by ClamAV on apache.org --0__=08BBF790DFF6EF648f9e8a93df938690918c08BBF790DFF6EF64 Content-type: multipart/alternative; Boundary="1__=08BBF790DFF6EF648f9e8a93df938690918c08BBF790DFF6EF64" --1__=08BBF790DFF6EF648f9e8a93df938690918c08BBF790DFF6EF64 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable What version of Equinox are we talking about here? The R5 or R6 implementation? The latest released version (as of yesterday [1]) shou= ld have the osgi.ee capability provided by the System BundleRevision. Tom [1] http://download.eclipse.org/equinox/drops/R-Luna-201406061215/download.= php?dropFile=3Dorg.eclipse.osgi_3.10.0.v20140606-1445.jar From: Guillaume Nodet To: dev@aries.apache.org Date: 06/25/2014 10:27 AM Subject: Re: Problem with Manifest of current aries bundles: Require-Capability: osgi.ee; filter=3D"(&(osgi.ee=3DJavaSE)(version=3D1.6))" Fwiw, the recent equinox version do not export the osgi.ee capabilities= through the BundleRevision even if they are actually used internally fo= r resolution. Though they are available on the system bundle headers. 2014-06-25 17:01 GMT+02:00 David Bosschaert : > There must be a version of Equinox that has it present as Equinox is > the OSGi Core Framework RI and the OSGi CT tests for this... > So maybe a newer version of Equinox will provide it... > > Cheers, > > David > > On 25 June 2014 15:15, Christian Schneider > wrote: > > I also tested on karaf 3.0.1 now. > > > > With felix the capability is present, with equinox it is not presen= t. > > So I guess we are configuring something that does not work for equi= nox. > > Will dig into it some more. > > > > Christian > > > > > > On 25.06.2014 16:04, Guillaume Nodet wrote: > >> > >> Here's what I have on 3.0.1 : > >> > >> *karaf*@root()> capabilities 0 | grep osgi.ee > >> > >> osgi.ee; OSGi/Minimum [1.0.0, 1.1.0, 1.2.0] [UNUSED] > >> > >> osgi.ee; JavaSE [1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, > 1.7.0] > >> [UNUSED] > >> > >> > >> > >> > >> 2014-06-25 15:52 GMT+02:00 Christian Schneider >: > >> > >>> As far as I can see we already define the capabiltiy in > >>> etc/config.properties but it does not seem to work. > >>> > >>> In a plain karaf 3.0.0 I can call "capabilities 0" and get no osg= i.ee > >>> capability. If I remove the > >>> lines that define the org.osgi.framework.system.capabilities=3D \= in > >>> config.properties then the capability is there. > >>> > >>> So I think we have some error in this definition. > >>> > >>> In any case as it does not seem to work out of the box I propose = we try > >>> to > >>> find a way to omit the requirement in the aries bundles for now. > >>> So we have more time to fix this in a new release. Does anyone kn= ow how > >>> this can be configured in the maven bundle plugin? > >>> > >>> Christian > >>> > >>> > >>> On 25.06.2014 15:25, Jean-Baptiste Onofr=E9 wrote: > >>> > >>>> We have to add in the etc/config.properties. It's where we defin= e the > >>>> system package and version. > >>>> > >>>> Regards > >>>> JB > >>>> > >>>> On 06/25/2014 03:12 PM, Christian Schneider wrote: > >>>> > >>>>> How is this done? Can it be done on an existing karaf version u= sing > >>>>> just > >>>>> configuration or do we need a new release? > >>>>> > >>>>> Christian > >>>>> > >>>>> > >>>>> On 25.06.2014 15:03, Achim Nierbeck wrote: > >>>>> > >>>>>> We should add this requirement to the container as provided, s= ince > >>>>>> this > >>>>>> will affect a lot of people using the maven-bundle-plugin 2.5 > >>>>>> > >>>>>> Regards, Achim > >>>>>> > >>>>>> sent from mobile device > >>>>>> Am 25.06.2014 14:55 schrieb "Christian Schneider" > >>>>>> : > >>>>>> > >>>>>> In our current build we seem to use the maven bundle plugin > >>>>>>> > >>>>>>> 2.4.1-SNAPSHOT. > >>>>>>> Since this version was changed I see a new Manifest header: > >>>>>>> Require-Capability: osgi.ee; > >>>>>>> filter=3D"(&(osgi.ee=3DJavaSE)(version=3D1.6))" > >>>>>>> > >>>>>>> When I try to install such a bundle into karaf 2.3.5 (I tried= with > >>>>>>> jpa > >>>>>>> container 1.0.1-SNAPSHOT). I get the error that this requirem= ent is > >>>>>>> not met. > >>>>>>> > >>>>>>> So the question is should we avoid this header or should we a= dd the > >>>>>>> capability to the container in some way? > >>>>>>> > >>>>>>> Christian > >>>>>>> > >>>>>>> -- > >>>>>>> Christian Schneider > >>>>>>> http://www.liquid-reality.de > >>>>>>> > >>>>>>> Open Source Architect > >>>>>>> http://www.talend.com > >>>>>>> > >>>>>>> > >>>>>>> > >>>>> > >>> -- > >>> Christian Schneider > >>> http://www.liquid-reality.de > >>> > >>> Open Source Architect > >>> http://www.talend.com > >>> > >>> > > > > > > -- > > Christian Schneider > > http://www.liquid-reality.de > > > > Open Source Architect > > http://www.talend.com > > > = --1__=08BBF790DFF6EF648f9e8a93df938690918c08BBF790DFF6EF64 Content-type: text/html; charset=ISO-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable

What version of Equinox are we = talking about here?  The R5 or R6 implementation?  The latest= released version (as of yesterday [1]) should have the osgi.ee capabil= ity provided by the System BundleRevision.

Tom

[1]
http://download.eclipse.= org/equinox/drops/R-Luna-201406061215/download.php?dropFile=3Dorg.eclip= se.osgi_3.10.0.v20140606-1445.jar


3D"InactiveGuillaume Nodet ---06/25/2014 10:27:07 AM---Fwiw, the recent= equinox version do not export the osgi.ee capabilities through the Bun= dleRevision e

From: Guillaume Nodet <gnodet@apache.org= >
To: dev@aries.apache.org
Date: 06/25/2014 10:27 AM
Subject: = Re: Problem with Manifest of curre= nt aries bundles: Require-Capability: osgi.ee; filter=3D"(&(os= gi.ee=3DJavaSE)(version=3D1.6))"





Fwiw, the recent equinox version do not export the= osgi.ee capabilities
through the BundleRevision even if they are actually used internally fo= r
resolution.  Though they are available on the system bundle header= s.



2014-06-25 17:01 GMT+02:00 David Bosschaert <david.bosschaert@gmail.= com>:

> There must be a version of Equinox that has it present as Equinox = is
> the OSGi Core Framework RI and the OSGi CT tests for this...
> So maybe a newer version of Equinox will provide it...
>
> Cheers,
>
> David
>
> On 25 June 2014 15:15, Christian Schneider <chris@die-schneider= .net>
> wrote:
> > I also tested on karaf 3.0.1 now.
> >
> > With felix the capability is present, with equinox it is not = present.
> > So I guess we are configuring something that does not work fo= r equinox.
> > Will dig into it some more.
> >
> > Christian
> >
> >
> > On 25.06.2014 16:04, Guillaume Nodet wrote:
> >>
> >> Here's what I have on 3.0.1 :
> >>
> >> *karaf*@root()> capabilities 0 | grep osgi.ee
> >>
> >> osgi.ee; OSGi/Minimum [1.0.0, 1.1.0, 1.2.0] [UNUSED]
> >>
> >> osgi.ee; JavaSE [1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0= , 1.6.0,
> 1.7.0]
> >> [UNUSED]
> >>
> >>
> >>
> >>
> >> 2014-06-25 15:52 GMT+02:00 Christian Schneider <chris@= die-schneider.net
> >:
> >>
> >>> As far as I can see we already define the capabiltiy = in
> >>> etc/config.properties but it does not seem to work. > >>>
> >>> In a plain karaf 3.0.0 I can call "capabilities = 0" and get no osgi.ee
> >>> capability. If I remove the
> >>> lines that define the org.osgi.framework.system.capab= ilities=3D \ in
> >>> config.properties then the capability is there.
> >>>
> >>> So I think we have some error in this definition.
= > >>>
> >>> In any case as it does not seem to work out of the bo= x I propose we try
> >>> to
> >>> find a way to omit the requirement in the aries bundl= es for now.
> >>> So we have more time to fix this in a new release. Do= es anyone know how
> >>> this can be configured in the maven bundle plugin? > >>>
> >>> Christian
> >>>
> >>>
> >>> On 25.06.2014 15:25, Jean-Baptiste Onofr=E9 wrote: > >>>
> >>>> We have to add in the etc/config.properties. It's= where we define the
> >>>> system package and version.
> >>>>
> >>>> Regards
> >>>> JB
> >>>>
> >>>> On 06/25/2014 03:12 PM, Christian Schneider wrote= :
> >>>>
> >>>>> How is this done? Can it be done on an existi= ng karaf version using
> >>>>> just
> >>>>> configuration or do we need a new release? > >>>>>
> >>>>> Christian
> >>>>>
> >>>>>
> >>>>> On 25.06.2014 15:03, Achim Nierbeck wrote: > >>>>>
> >>>>>> We should add this requirement to the con= tainer as provided, since
> >>>>>> this
> >>>>>> will affect a lot of people using the mav= en-bundle-plugin 2.5
> >>>>>>
> >>>>>> Regards, Achim
> >>>>>>
> >>>>>> sent from mobile device
> >>>>>> Am 25.06.2014 14:55 schrieb "Christi= an Schneider"
> >>>>>> <chris@die-schneider.net>:
> >>>>>>
> >>>>>>   In our current build we seem to us= e the maven bundle plugin
> >>>>>>>
> >>>>>>> 2.4.1-SNAPSHOT.
> >>>>>>> Since this version was changed I see = a new Manifest header:
> >>>>>>> Require-Capability: osgi.ee;
> >>>>>>> filter=3D"(&(osgi.ee=3DJavaS= E)(version=3D1.6))"
> >>>>>>>
> >>>>>>> When I try to install such a bundle i= nto karaf 2.3.5 (I tried with
> >>>>>>> jpa
> >>>>>>> container 1.0.1-SNAPSHOT). I get the = error that this requirement is
> >>>>>>> not met.
> >>>>>>>
> >>>>>>> So the question is should we avoid th= is header or should we add the
> >>>>>>> capability to the container in some w= ay?
> >>>>>>>
> >>>>>>> Christian
> >>>>>>>
> >>>>>>> --
> >>>>>>> Christian Schneider
> >>>>>>>
http://www.liquid-reality.de
> >>>>>>>
> >>>>>>> Open Source Architect
> >>>>>>>
http://www.talend.com=
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>
> >>> --
> >>> Christian Schneider
> >>>
http://www.liquid-reality.de
> >>>
> >>> Open Source Architect
> >>>
http://www.talend.com
> >>>
> >>>
> >
> >
> > --
> > Christian Schneider
> >
http://www.liquid-reality.de
> >
> > Open Source Architect
> >
http://www.talend.com
> >
>

= --1__=08BBF790DFF6EF648f9e8a93df938690918c08BBF790DFF6EF64-- --0__=08BBF790DFF6EF648f9e8a93df938690918c08BBF790DFF6EF64--