Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D5CAB1B8 for ; Sun, 8 Jan 2012 20:17:28 +0000 (UTC) Received: (qmail 28633 invoked by uid 500); 8 Jan 2012 20:17:27 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 28608 invoked by uid 500); 8 Jan 2012 20:17:27 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 28600 invoked by uid 99); 8 Jan 2012 20:17:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jan 2012 20:17:27 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.63] (HELO smtp108.prem.mail.sp1.yahoo.com) (98.136.44.63) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 08 Jan 2012 20:17:21 +0000 Received: (qmail 82498 invoked from network); 8 Jan 2012 20:17:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=uhkiH3W9g3ByCJpzjXsp+1dsbIiL46bDKBd+qYk9N+5g1J4cEWV+h/WXLIvPbiBkdgUkWPXon2Da9116n5bXPuop51dA54VsmezHAoppW/wDwqOBEKm2yGqLYAOxUGHtLoG7jBSL04+/URrd9tzwZHb7rrh3N/Whhf0KRqf2ln8= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1326053821; bh=y11xfSySvJYLD4H0D1ZOalCKyifjm2McMH6HzKYgsJs=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=WEfVt5ODwznmm6y1QHsCoFtYW7eY1Ov7sx9te/dnmui+HKJ4gq5X8g6eB76+NSRYO99YOqk+4Cbf0gPqG11Lq4rfvesBtxzR2TUmut4qEop36i6IFZQ6F4fRIh/sSuuAjUhXnDKJAoQyr4Ejy/v+moR9XpP+4BJ5N54PKWtnbN0= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: luMN_U4VM1lDMFD5sRS2jrJzibVB0sPF3O4380eFVuugczg Ozb0mzbGTWdemu5mBuZVUscgvayUYNrXpTPCCDhdkDL_f3VyVkktVVky3jpa 8phhTv0oHqLITaMCJU6BO5fAbbgUXekqlQmZv9D_g.O_QX1yVXy70tprzYlf KgK1w0frjOkZN5KKZE2b98hHLo7CgSak2.ElGhhWlJ06BWQX8A7C6ACr.HBX dxBLt56XPmNOZbpp5hSm3CqkKwWgk7id9EhKO.UEyuRndvHW9ey0GBpSZv_g hMqnCr9_d2AU3u7Ps8_YJ1BREK1lbT_GgCRCw5PY3kwNyQSYUGRVuz8WL_5Z pGW.O1VGL_mffwk5OG1vNnYDTH7vahNgvdQOIWc.7ptwMMduP1ZYZFrDJeNb LLhudlAqmeEAKcql0A4NaJpv8ddqbswLukPjXFz_ppsgHLg6VBDeIFfcsKQj SFA3xV8gxKWL4vDYsT2v1mtrCs1n7MyXsu_HEHfEwgWR3CZmnFKMujfV2tHH 7JpD8PTlMkWUeXuCf636MwaEyW8La6gynTWGjP90VkzhQb5ig6oAOP7ZFUba QxePwpXNzrV6dON47i_zXGCXNAD4Z5JeE.zIMuKA9l2A5drXk7OWZevEah0z oALSRqQrSq9YRaiLljyoW29wQ7c7YQBcr4TI_fe1941sgYSuII15NC8KR04q gue5rX_H9Q9nzorm.BB_9TXwEiplave2gMywE5e6oMdsxuLuyDJ3xMg-- X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- Received: from [10.0.1.4] (david_jencks@98.246.196.64 with plain) by smtp108.prem.mail.sp1.yahoo.com with SMTP; 08 Jan 2012 12:17:00 -0800 PST Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: SCR Tools for Karaf From: David Jencks In-Reply-To: <9257B584-EE29-447A-8BC4-D760D36F950E@yahoo.com> Date: Sun, 8 Jan 2012 12:16:57 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1325977850874-3641090.post@n3.nabble.com> <998CB80A-A177-4699-9936-70849567BBD8@yahoo.com> <9257B584-EE29-447A-8BC4-D760D36F950E@yahoo.com> To: dev@karaf.apache.org X-Mailer: Apple Mail (2.1084) Hi... inline On Jan 8, 2012, at 10:54 AM, Scott England-Sullivan wrote: > Hi Dave, >=20 > My comments are inlined below.=20 >=20 > Scott ES >=20 > On Jan 8, 2012, at 3:17 AM, David Jencks = wrote: >=20 >> I've modified this a bit to work with trunk and committed the = results. This looks really really useful! I've used scr a lot in = geronimo and this looks like it will help diagnose the problems I keep = running into. >>=20 >> I have a few questions. =20 >>=20 >> - I don't understand some of the feature descriptor. I've replaced = it with one generated from the dependencies. I don't understand why the = repository, eventadmin, or second feature are needed at all. Also I = don't see why the felix scr and metatype are dependencies rather than = just listed. I didn't remove the original feature.xml until we = straighten this out. >=20 > Most of is for the web console. The web console has a nice interface = for SCR If you load the web console first it doesn't pick up the SCR = dependency and show the tab for it. The SCR WC interface also has a = dependency on MetaType and EventAdmin, at least it used to. I don't know = about 3.x. So it was more of a convenient work around if I was in an = environment where I had to load it after the WC.=20 >=20 > MetaType also has some additional benefits SCR development when = combined with bndlib. There is a convenience class in bndlib that takes = your component config interface and will create a type safe proxy (see = the example code). >=20 > Because of all this I wrapped all the dependencies in a feature for = convenience.=20 >=20 > I am not sure what the best approach is given the WCs optional = dependency on SCR. It could be that loading of an optional WC capability = works correctly in trunk. I will look at it this afternoon and get back = with a response. I know just about nothing about the webconsole. I did sort of think = that the idea generally was to put pieces of the web console in with the = stuff it worked with, which would mean we might want to move the = webconsole scr support into the scr module. Maybe someone with more = clue can comment :-) thanks david jencks >=20 >>=20 >> - The colors of the output on the console are very faint (light gray = and light yellow). I'm not sure how this is configured but would it be = possible to make it darker? >=20 > I will take a look at this also and get a fix out for trunk and 2.2.x.=20= >=20 >>=20 >> thanks! >> david jencks >>=20 >> On Jan 7, 2012, at 3:10 PM, sully6768 wrote: >>=20 >>> Hello All, >>>=20 >>> I have submitted a set of commands, mbeans, a feature config and = some >>> examples. I attached them to the existing issue KARAF-52. >>>=20 >>> https://issues.apache.org/jira/browse/KARAF-52 >>>=20 >>> Thanks, >>> Scott ES >>>=20 >>> -- >>> View this message in context: = http://karaf.922171.n3.nabble.com/SCR-Tools-for-Karaf-tp3641090p3641090.ht= ml >>> Sent from the Karaf - Dev mailing list archive at Nabble.com. >>=20