Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 74854 invoked from network); 11 Apr 2007 19:42:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2007 19:42:56 -0000 Received: (qmail 77830 invoked by uid 500); 11 Apr 2007 19:43:02 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 77805 invoked by uid 500); 11 Apr 2007 19:43:02 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Received: (qmail 77790 invoked by uid 99); 11 Apr 2007 19:43:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 12:43:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hargrave@us.ibm.com designates 32.97.110.152 as permitted sender) Received: from [32.97.110.152] (HELO e34.co.us.ibm.com) (32.97.110.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 12:42:55 -0700 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e34.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id l3BJgYWv021762 for ; Wed, 11 Apr 2007 15:42:34 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l3BJgYHn191016 for ; Wed, 11 Apr 2007 13:42:34 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l3BJgYE1021841 for ; Wed, 11 Apr 2007 13:42:34 -0600 Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com [9.17.195.145]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l3BJgY2T021834 for ; Wed, 11 Apr 2007 13:42:34 -0600 In-Reply-To: To: felix-dev@incubator.apache.org MIME-Version: 1.0 Subject: Re: newbie: installing and starting new bundles from code X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 From: BJ Hargrave Message-ID: Date: Wed, 11 Apr 2007 15:42:31 -0400 X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 7.0.2HF32 | October 17, 2006) at 04/11/2007 13:42:33, Serialize complete at 04/11/2007 13:42:33 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org If location string is the same => returns the Bundle object of the installed bundle, otherwise throw BundleException. BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargrave@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 "Steven E. Harris" 2007-04-11 15:13 Please respond to felix-dev@incubator.apache.org To felix-dev@incubator.apache.org cc Subject Re: newbie: installing and starting new bundles from code Niclas Hedhman writes: > R4 spec (not R4.1) section > - 6.1.6.15 > BundleContext.installBundle( String location ) > throws BundleException > > - 6.1.6.16 > BundleContext.installBundle( String location, InputStream input ) > throws BundleException What does installBundle() do if a bundle is already installed with the same symbolic name and version as the new "candidate" bundle? -- Steven E. Harris