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 F059E6F86 for ; Fri, 3 Jun 2011 14:19:23 +0000 (UTC) Received: (qmail 46876 invoked by uid 500); 3 Jun 2011 14:19:23 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 46740 invoked by uid 500); 3 Jun 2011 14:19:23 -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 46732 invoked by uid 99); 3 Jun 2011 14:19:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 14:19:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jpjhughes@gmail.com designates 74.125.83.50 as permitted sender) Received: from [74.125.83.50] (HELO mail-gw0-f50.google.com) (74.125.83.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 14:19:17 +0000 Received: by gwj16 with SMTP id 16so1056455gwj.23 for ; Fri, 03 Jun 2011 07:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=iDd0u3VQA0P1yQ4x42S3gByprVyIZt8AklZqXAj/NQE=; b=mmu8sIuzdgiJCzcu371dPH6TONinLST1a6SN+zTTmKUs3OUL4etIaar86qp3wPD+vW Cmrgsvd2YSTrMTEK+xQedECQr+exEkCsb49dCDEe7pojYyJ+/59noxzOBZpVVYByANtT ymkta3yWtUaV92SBN1Kj+xNsiUfoKE3KPJD9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=K/8XXfeMZjEYzY/CDGv93EWx8URL+yO1Z9TBrQg2cA02qh2/RVIdKsfRKUR2Wx7sLN 4MuErURGvLBgmOuA4ndRylwcfJc6C7vTJ4D7u3fOYE9bHQpxU7nUJT5AJgu1Yqwwt91w gpR1Eqs7+8vev21E7q/52ogX5hJgVBDB2S550= Received: by 10.146.26.23 with SMTP id 23mr1861130yaz.33.1307110736281; Fri, 03 Jun 2011 07:18:56 -0700 (PDT) MIME-Version: 1.0 Sender: jpjhughes@gmail.com Received: by 10.147.125.4 with HTTP; Fri, 3 Jun 2011 07:18:36 -0700 (PDT) In-Reply-To: References: <2FADFE27-5D9A-4C10-BE96-7DFCFFAF20CF@apache.org> From: Jeremy Hughes Date: Fri, 3 Jun 2011 15:18:36 +0100 X-Google-Sender-Auth: LIgm1HiRHuFeLDhHCfqT2m8p-g4 Message-ID: Subject: Re: blueprint.api exports org.osgi.service.blueprint yet blueprint.core can't resolve To: dev@aries.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org My mistake. The spec says it should be, to prevent type incompatibility problems but 0.0.0 is certainly wrong. Other blueprint packages are exported at 1.0.1. Jeremy On 3 June 2011 14:46, Jeremy Hughes wrote: > On 2 June 2011 19:15, Alasdair Nottingham wrote: >> The API bundle exports org.osgi.service.blueprint at version 0.0.0 it sh= ould probably be 1.0.0. > > There are no classes in org.osgi.service.blueprint so it shouldn't be > exported at all. > >> >> Alasdair Nottingham >> >> On 2 Jun 2011, at 19:08, Jacek Laskowski wrote: >> >>> Hi, >>> >>> Is there something wrong with the blueprint api bundle? I don't seem >>> to run api and core, but the bundle module works fine. >>> >>> osgi> bundle 2 >>> org.apache.aries.blueprint.api_0.3.2.SNAPSHOT [2] >>> =A0Id=3D2, Status=3DACTIVE =A0 =A0 =A0Data >>> Root=3D/Users/jacek/equinox-aries.configuration/org.eclipse.osgi/bundle= s/2/data >>> =A0No registered services. >>> =A0No services in use. >>> =A0Exported packages >>> =A0 =A0org.osgi.service.blueprint; version=3D"0.0.0"[exported] >>> =A0 =A0org.osgi.service.blueprint.reflect; version=3D"1.0.1"[exported] >>> =A0 =A0org.osgi.service.blueprint.container; version=3D"1.0.1"[exported= ] >>> =A0Imported packages >>> =A0 =A0org.osgi.framework; version=3D"1.6.0" >>> =A0No fragment bundles >>> =A0Named class space >>> =A0 =A0org.apache.aries.blueprint.api; bundle-version=3D"0.3.2.SNAPSHOT= "[provided] >>> =A0No required bundles >>> >>> osgi> diag 3 >>> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/0.3.2-SN= APSHOT >>> [3] >>> =A0Direct constraints which are unresolved: >>> =A0 =A0Missing optionally imported package >>> org.apache.aries.blueprint.annotation.service_[0.3.0,1.0.0). >>> =A0 =A0Missing optionally imported package >>> org.apache.aries.quiesce.manager_[0.2.0,1.0.0). >>> =A0 =A0Missing optionally imported package >>> org.apache.aries.quiesce.participant_[0.2.0,1.0.0). >>> =A0 =A0Missing imported package org.osgi.service.blueprint_[1.0.0,2.0.0= ). >>> >>> osgi> start 3 >>> org.osgi.framework.BundleException: The bundle >>> "org.apache.aries.blueprint.core_0.3.2.SNAPSHOT [3]" could not be >>> resolved. Reason: Missing Constraint: Import-Package: >>> org.osgi.service.blueprint; version=3D"[1.0.0,2.0.0)" >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.AbstractBundle.getRe= solverError(AbstractBundle.java:1327) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.AbstractBundle.getRe= solutionFailureException(AbstractBundle.java:1311) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.BundleHost.startWork= er(BundleHost.java:323) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.AbstractBundle.start= (AbstractBundle.java:299) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.AbstractBundle.start= (AbstractBundle.java:291) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.FrameworkCommandProv= ider._start(FrameworkCommandProvider.java:333) >>> =A0 =A0at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) >>> =A0 =A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet= hodAccessorImpl.java:25) >>> =A0 =A0at java.lang.reflect.Method.invoke(Method.java:597) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.FrameworkCommandInte= rpreter.execute(FrameworkCommandInterpreter.java:209) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.FrameworkConsole.doc= ommand(FrameworkConsole.java:155) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run= Console(FrameworkConsole.java:140) >>> =A0 =A0at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run= (FrameworkConsole.java:104) >>> =A0 =A0at java.lang.Thread.run(Thread.java:680) >>> >>> osgi> install mvn:org.apache.aries.blueprint/org.apache.aries.blueprint= /0.3.2-SNAPSHOT >>> Bundle id is 12 >>> >>> osgi> ss >>> >>> Framework is launched. >>> >>> id =A0 =A0State =A0 =A0 =A0 Bundle >>> 0 =A0 =A0ACTIVE =A0 =A0 =A0org.eclipse.osgi_3.7.0.v20110524 >>> 1 =A0 =A0ACTIVE =A0 =A0 =A0org.ops4j.pax.url.mvn_1.3.2 >>> 4 =A0 =A0ACTIVE =A0 =A0 =A0org.apache.aries.proxy.api_0.4.0.SNAPSHOT >>> 5 =A0 =A0ACTIVE =A0 =A0 =A0org.apache.aries.proxy.impl_0.4.0.SNAPSHOT >>> 6 =A0 =A0ACTIVE =A0 =A0 =A0org.apache.aries.util_0.4.0.SNAPSHOT >>> 7 =A0 =A0ACTIVE =A0 =A0 =A0org.eclipse.equinox.cm_1.0.300.v20110502 >>> 8 =A0 =A0ACTIVE =A0 =A0 =A0org.ops4j.pax.logging.pax-logging-api_1.6.2 >>> 9 =A0 =A0ACTIVE =A0 =A0 =A0org.ops4j.pax.logging.pax-logging-service_1.= 6.2 >>> 10 =A0 =A0ACTIVE =A0 =A0 =A0org.eclipse.osgi.services_3.3.0.v20110513 >>> 11 =A0 =A0ACTIVE =A0 =A0 =A0org.apache.aries.blueprint.sample_0.3.2.SNA= PSHOT >>> 12 =A0 =A0ACTIVE =A0 =A0 =A0org.apache.aries.blueprint_0.3.2.SNAPSHOT >>> >>> Jacek >>> >>> -- >>> Jacek Laskowski >>> Java EE, functional languages and IBM WebSphere - http://blog.japila.pl >>> Warszawa JUG conference =3D Confitura (formerly Javarsovia) :: http://c= onfitura.pl >> >