Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 59900 invoked from network); 6 Nov 2009 10:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 10:24:39 -0000 Received: (qmail 8460 invoked by uid 500); 6 Nov 2009 10:24:38 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 8369 invoked by uid 500); 6 Nov 2009 10:24:38 -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 8361 invoked by uid 99); 6 Nov 2009 10:24:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 10:24:38 +0000 X-ASF-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jason.dillon@gmail.com designates 209.85.210.186 as permitted sender) Received: from [209.85.210.186] (HELO mail-yx0-f186.google.com) (209.85.210.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 10:24:36 +0000 Received: by yxe16 with SMTP id 16so876896yxe.27 for ; Fri, 06 Nov 2009 02:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=mX7/kx7E8BhrQrDTu6hyQDjsLC4ef2gVV6X19QXOf58=; b=ImJ0QlJR/VeWq3aIV6IA+a1j8wR9eOIRoKu8UmXvFbyUWXTL1v5g2G+r1REZRYIkVA Yq8bKH7E9U9IS7ydJ72EIboQ6whos2Uzayd2D/d5l+sJtbU66862tjq9WKKf3NvmKVaQ PGuWB4zojs4ASzShFbRQMiLuAY5DjoZ0o/uDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=U9HleInBBRF86WU6dn7dm3urSi+RnrqdczDKQymZUtpQyom1ZRqbcbr/RNQv1zx6H7 H35xKtM/SvYpQzBrestYKV+AB/EUxD6ld8s57XeF4bw3QsOmjH1qM4QTDzh/BuSpNvpQ 1mrunFMPRCSyaMkROFX5J5tc2rsYDCxE53X9E= Received: by 10.100.233.19 with SMTP id f19mr3866188anh.72.1257503050805; Fri, 06 Nov 2009 02:24:10 -0800 (PST) Received: from ?192.168.2.6? (118.173.136.65.adsl.dynamic.totbb.net [118.173.136.65]) by mx.google.com with ESMTPS id 7sm1357309yxg.32.2009.11.06.02.24.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Nov 2009 02:24:09 -0800 (PST) Sender: Jason Dillon Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Is there any plan to migrate existing geronimo shell commands from gshell to karaf shell in geronimo 3.0 ? From: Jason Dillon In-Reply-To: <5eb405c70911051651o4e19c73cn1f281fbde6e83488@mail.gmail.com> Date: Fri, 6 Nov 2009 17:23:47 +0700 Content-Transfer-Encoding: 7bit Message-Id: <52D1CE42-D597-4937-85D0-4ED911A7810B@planet57.com> References: <4AF159D7.3000507@gmail.com> <4AF1AA30.5030807@apache.org> <5eb405c70911051651o4e19c73cn1f281fbde6e83488@mail.gmail.com> To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.1076) Karaf's shell muck is based on gshell, with some of the internals ripped out and using gogo, so I agree it should not be too difficult. --jason On Nov 6, 2009, at 7:51 AM, Jarek Gawor wrote: > I agree. Also, porting Geronimo GShell commands to whatever Karaf is > using shouldn't be hard and shouldn't take that long. > > Jarek > > On Wed, Nov 4, 2009 at 11:22 AM, Donald Woods > wrote: >> We could also mention that GShell is deprecated (or some better >> disclaimer/wording) in the 2.2 Release Notes, since it hasn't been >> released >> yet..... >> >> I'd rather use the GShell offspring in Karaf than bolt yet another >> set of >> warts onto the 3.0 server. Also, we need to keep one of the >> original goals >> of minimize server install and runtime footprint in mind, which >> having 2 >> shell environments wouldn't.... >> >> >> -Donald >> >> >> Rick McGuire wrote: >>> >>> Shawn Jiang wrote: >>>> >>>> Now we are using karaf as OSGI runtime. Karaf has its own shell >>>> which is >>>> based on RFC 139 command service. Karaf shell uses blueprint and >>>> a set of >>>> util abstract classes to provide a easy to use program model for >>>> new >>>> commands. >>>> >>>> >>>> Geronimo 2.x has its own shell which >>>> >>>> * bases on gshell >>>> * uses groovy to define commands.(I don't kown why but I don't >>>> like this) >>>> * uses classworld to bootstrap itself >>>> * uses a serverProxy to provide geronimo server startup/stop >>>> commands. >>>> * uses JMX to invoke jsr88 implementation to provide >>>> applications >>>> deploy/undeploy/distribution commands. >>>> * uses JMX to get plugin installer GBean instance to provide >>>> plugin install and customized assemblely commands. >>>> >>>> >>>> I found that all the gshell bootstrap files in geronimo_home/etc >>>> has been >>>> removed in geronimo 3.0 framework. Is there any plan to >>>> migrate existing >>>> geronimo shell commands from gshell to karaf shell in geronimo >>>> 3.0 ? >>> >>> I don't believe there's any plan to migrate away from gshell to >>> using the >>> karaf shell (at least yet). I'm a little concerned about breaking >>> any >>> custom commands/scripts that may have been written for prior >>> Geronimo >>> releases, so there's a bit of a balancing act involved here. I >>> suspect we >>> might want to explore keeping the existing geronimo shell, but see >>> if it is >>> possible for it to invoke commands built using the Karaf >>> infrastructure. >>> This would allow us to reuse existing Karaf commands and allow >>> new commands >>> to be written using the Karaf programming model. >>> >>> Rick >>>> >>>> >>>> -- >>>> Shawn >>> >>> >>