Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-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 7FB9C7EF0 for ; Thu, 11 Aug 2011 02:25:01 +0000 (UTC) Received: (qmail 6305 invoked by uid 500); 11 Aug 2011 02:25:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 6157 invoked by uid 500); 11 Aug 2011 02:25:00 -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 6150 invoked by uid 99); 11 Aug 2011 02:24:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 02:24:59 +0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xiaoyijhondevelop@gmail.com designates 209.85.220.182 as permitted sender) Received: from [209.85.220.182] (HELO mail-vx0-f182.google.com) (209.85.220.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 02:24:53 +0000 Received: by vxh11 with SMTP id 11so1798145vxh.13 for ; Wed, 10 Aug 2011 19:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=hGHwL47njzGvmZU1iRGRYo5Z6HrFbWTvDSdI/o8pROI=; b=KXKw9GuBFTgKXtSOA7EQbq3LRf/PR56nbTW1x9JQPn8gFx17HBYlCc/jsbn6T3HwfY mpM8RAt78qW7Qv7iu4GAa5Vcr1Ctmsf501XgJCDWC91JbmI6EIE3jSXqgcOmZCrCC98B kbICHDJs5ho6rmV/4zaKY2yYj3y9VrTyKCFzo= MIME-Version: 1.0 Received: by 10.52.112.70 with SMTP id io6mr9443908vdb.512.1313029472734; Wed, 10 Aug 2011 19:24:32 -0700 (PDT) Received: by 10.220.95.71 with HTTP; Wed, 10 Aug 2011 19:24:32 -0700 (PDT) Date: Thu, 11 Aug 2011 10:24:32 +0800 Message-ID: Subject: [DISCUSSION] The OBR feature in Geronimo3.0 From: Yi Xiao To: dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=bcaec547c5f54d4e8904aa317f32 --bcaec547c5f54d4e8904aa317f32 Content-Type: text/plain; charset=ISO-8859-1 Hi devs, Now, I want to add the support of OSGi bundle repository in Geronimo3.0, the patch is available at: https://issues.apache.org/jira/browse/GERONIMO-5939 I used Felix's OBR APIs to develop and add *THREE* karaf shells to control the OBR in geronimo: * 1 obr:geronimo-addurl url* Add a remote repository to the geronimo's repositoryAdmin. * 2 obr:geronimo-install [--start | --startLevel num | -v] symbolicName,version* Install a bundle into geronimo in OBR way. first, resolve the bundle, if resolve failed, return directly and print the unsatisfactory conditions to user; second, download the bundle and its dependencies from the remote sites to local; third, deploy all the bundles into geronimo repository and install them into OSGi framework; finally, update the geronimo's obr.xml file. * 3 obr:geronimo-uninstall symbolicName,version* Uninstall a bundle from geronimo in OBR way. Compared with the osgi:uninstall, the OBR's uninstall will clean up the geronimo's repository and startup.properties file, also update the obr.xml file. Any suggestions ? -- Best regards! John Xiao --bcaec547c5f54d4e8904aa317f32 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi devs,

Now, I want to add the support of OSGi bundle repository in= Geronimo3.0, the patch is available at: https://issues.apache.org/jira/browse/GERONIM= O-5939
I used Felix's OBR APIs to develop and add=A0 THREE karaf shells= to control the OBR in geronimo:

1 obr:geronimo-= addurl url

Add a remote repository to the geronimo's repo= sitoryAdmin.

2 obr:geronimo-install [--start | --startLevel num | -v] symbolicNam= e,version

Install a bundle into geronimo in OBR way.
first, resol= ve the bundle, if resolve failed, return directly and print the unsatisfact= ory conditions to user;
second, download the bundle and its dependencies from the remote sites to l= ocal;
third, deploy all the bundles into geronimo repository and install= them into OSGi framework;
finally, update the geronimo's obr.xml fi= le.

3 obr:geronimo-uninstall symbolicName,version

Uninstall a bun= dle from geronimo in OBR way.
Compared with the osgi:uninstall, the OBR&= #39;s uninstall will clean up the geronimo's repository and startup.pro= perties file, also update the obr.xml file.

Any suggestions ?

--
Best regards!

=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0John Xiao

--bcaec547c5f54d4e8904aa317f32--