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 4F8B5438C for ; Sun, 19 Jun 2011 05:52:20 +0000 (UTC) Received: (qmail 14276 invoked by uid 500); 19 Jun 2011 05:52:19 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 13770 invoked by uid 500); 19 Jun 2011 05:52:13 -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 13741 invoked by uid 99); 19 Jun 2011 05:52:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2011 05:52:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2011 05:52:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CAE4D42137E for ; Sun, 19 Jun 2011 05:51:47 +0000 (UTC) Date: Sun, 19 Jun 2011 05:51:47 +0000 (UTC) From: "Rex Wang (JIRA)" To: dev@geronimo.apache.org Message-ID: <2076528876.18897.1308462707827.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <15513872.54781295425243278.JavaMail.jira@thor> Subject: [jira] [Commented] (GERONIMO-5764) Support Bundles Deployment in deployment command line MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051650#comment-13051650 ] Rex Wang commented on GERONIMO-5764: ------------------------------------ Just upload a new patch: GERONIMO-5764-install-bundle.patch I modified the design as the following: 1. Only one cli is kept. That is: deploy install-bundle --inplace --start --startLevel 90 D:\BlueprintSample\SampleBundles\HelloWorld.jar This cli will install the bundle to osgi framework and record it in the var/config/bundle-records.csv file. 2. Use a BundleTracker to track Uninstalled bundles, if the bundle is listed in the bundle-records.csv, the tracker will erase it. That is, user can use the normal osgi uninstall command to uninstall a recorded bundle and its record will be automatically erased in back. 3. Modified the BundleRecorder interface, only one API is exposed: public long recordInstall(File bundleFile, boolean inplace, int startLevel) So, if GEP want to start/stop a bundle, it could use the OSGi's FrameworkMBean, like what does in install-bundle cli. -Rex > Support Bundles Deployment in deployment command line > ----------------------------------------------------- > > Key: GERONIMO-5764 > URL: https://issues.apache.org/jira/browse/GERONIMO-5764 > Project: Geronimo > Issue Type: New Feature > Security Level: public(Regular issues) > Components: commands, console, deployment > Affects Versions: 3.0 > Reporter: viola.lu > Assignee: Rex Wang > Priority: Critical > Fix For: 3.0 > > Attachments: GERONIMO-5764-install-bundle.patch, GERONIMO-5764-record-bundle.patch, GERONIMO-5764.patch > > > Now we have to deploy a regular bundle via karaf shell: osgi:install file:/[bunlde_path], not deployer command line, so open this jira to track this feature enablement. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira