Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 91390 invoked from network); 2 Jul 2009 09:57:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 09:57:12 -0000 Received: (qmail 17626 invoked by uid 500); 2 Jul 2009 09:57:23 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 17522 invoked by uid 500); 2 Jul 2009 09:57:22 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 17512 invoked by uid 99); 2 Jul 2009 09:57:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 09:57:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gnodet@gmail.com designates 209.85.218.219 as permitted sender) Received: from [209.85.218.219] (HELO mail-bw0-f219.google.com) (209.85.218.219) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 09:57:12 +0000 Received: by bwz19 with SMTP id 19so586277bwz.22 for ; Thu, 02 Jul 2009 02:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=BrsIwrG/99lPDuThfOiaHr6TUHRecFhNMAkc0Yw1oHI=; b=JU5AMm8wmg2V0kHsabBMuf8JTJ9zJb9UHt7ThQALoztJjoRRWy4/sVJPMv0IWoSy6R ngGXxUqYfEvqWbrBL6wfF3E10C9kDLuWmzVwDIO558zUc9HUHwbP3SDoUm+roRe5h1T/ waE/XtasUD3nIrJa/WNXso+odZjTID+N7z8o0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=g+FoQ1bRFLH7Z0yBgqvcG1ZXYzfxH6YpA9FFP7qxiC6hpRfMpUnKeXZXkslgnWa6HU eI23Ibp9Uub6OH52OntQfAZ/gkV3kF1bUwqPlFEHL3UIBRJBmvh61ASZx03WVUA9yJ2z 1mNDGEaZ/ViQ3XcIGFbFoIG8blVlD11hsBRCg= MIME-Version: 1.0 Received: by 10.223.119.198 with SMTP id a6mr6996572far.42.1246528611277; Thu, 02 Jul 2009 02:56:51 -0700 (PDT) In-Reply-To: References: Date: Thu, 2 Jul 2009 11:56:51 +0200 Message-ID: Subject: Re: [karaf] Switching from gshell to gogo From: Guillaume Nodet To: dev@felix.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Well, if we consider switching, it *is* the right moment, as Karaf has not done any release yet. I'd rather do that before the first release than after. That said, the commands will be the same as we would just port the existing karaf commands for gshell to gogo, which currently has a very minimal impact (change the base class and the package for annotations, that's mostly it). >From a syntax point of view, the difference now is that they would look like osgi:list instead of osgi/list, but I'm quite sure I can hack gogo to allow the customization of the separator. I don't see any technical problems in porting the completers (which are really helpful). So in short, if I can configure gogo to use '/' instead of ':' as a separator, it should be mostly transparent for end users. People having written commands would need to migrate though (but as I said, it's easy to do). On Thu, Jul 2, 2009 at 10:16, Charles Moulliard wrote= : > Hi guillaume, > > From a technical point of view, this seems very interesting but is it the > right moment to do this migration regarding to client(s) using Apache > ServiceMix4, ... ? This will impact existing documents, tutorials, ... > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***************************** > blog : http://cmoulliard.blogspot.com > > > On Thu, Jul 2, 2009 at 8:08 AM, Guillaume Nodet wrote: > >> I've been considering swithing karaf shell from Geronimo Gshell to Felix >> Gogo. >> The main reasons are: >> =A0* Gogo is/will implement OSGi RFC 0142 to standardize the shell >> (it's not yet a spec, but should be in the future) >> =A0* Gogo should be able to be used at launch time to run the framework >> =A0* Gogo shell syntax is more powerfull, in addition to pipes, it >> supports closures, loops, if / then / else ... >> =A0* lightweight: < 100 ko vs > 1 Mo for gshell >> >> The drawbacks are: >> =A0* yet another change in the syntax (we've already changed it when >> between 1.0.0 and 1.1.0) >> =A0* some more work is needed as we're currently missing completors, >> history, banner >> >> Feedback welcome >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com >> > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com