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 21571D5F9 for ; Wed, 25 Jul 2012 05:35:21 +0000 (UTC) Received: (qmail 70380 invoked by uid 500); 25 Jul 2012 05:35:21 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 70196 invoked by uid 500); 25 Jul 2012 05:35:18 -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 70166 invoked by uid 99); 25 Jul 2012 05:35:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 05:35:17 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anpieber@gmail.com designates 209.85.160.176 as permitted sender) Received: from [209.85.160.176] (HELO mail-gh0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 05:35:11 +0000 Received: by ghbz10 with SMTP id z10so394788ghb.21 for ; Tue, 24 Jul 2012 22:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=59KSE/HsgYaj6t77rIpFYA2HKCVpLK7WwzGcuvZcMDs=; b=i6Rs3Yvqw1SdPq7eQg4F00DeJ8t6ykWozFf4E0LnI3zcqrh7sdEvJYsPelDV7q/5zl EFgGEZrKAX1uyGX0rBUotMiEZFVY4TCvO9LeCubwu71UnAPkaHTmx8oCoWsIJUQR1D1x Zh0ZBeuDEMClOnj04Vy9/RIhdPbGM4O1lPtKWA9EDNa71Be4lA6YDbR2UtqzuKkIfPXu SKpZnhBYYHeD1Xxe3am642dhl5PbT8169VG1PFsmGfWEjMtm0nlu34CHNZixKJiMxqOh WI5vSLF+CvDCZSSydjP9mS2658N0mN7mAKpUopWnGR2L4MJnnt2BDq2ogONbAFmrS4ak 1ZPg== MIME-Version: 1.0 Received: by 10.42.146.6 with SMTP id h6mr21432143icv.53.1343194490199; Tue, 24 Jul 2012 22:34:50 -0700 (PDT) Received: by 10.50.88.198 with HTTP; Tue, 24 Jul 2012 22:34:50 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Jul 2012 07:34:50 +0200 Message-ID: Subject: Re: Adding Webconsole Plugin for SCR From: Andreas Pieber To: dev@karaf.apache.org Content-Type: text/plain; charset=ISO-8859-1 I'm afraid this wont be enough. For example there are very likely features which you don't want to install automatically just because you're installing some other preconditions (e.g. springs preconditions are pretty fast fullfilled, but who still wants it :-)). On the other hand you might have some AOP like profiler which should be installed in case you install management, BUT you don't want to install management if you install the profiler. Do you see what I mean? :-) Kind regards, Andreas On Wed, Jul 25, 2012 at 5:48 AM, Scott England-Sullivan wrote: > Something like the following? Add an attribute that would mark a bundle as > a named dependency of a parent feature? > > "3.0.0-SNAPSHOT" name="scr"> > .... snip .... > > mvn:org.apache.karaf.scr/org.apache.karaf.scr.webconsole.plugin/3.0.0-SNAPSHOT > > > > On Tue, Jul 24, 2012 at 10:22 PM, Andreas Pieber wrote: > >> not so sure if we don't mix up this with KARAF-201 [1]. Scanned the >> mailing list, the jira and my brain for a discussion for such a >> mechanism and couldn't find one. While it might be possible doing >> something like this with post-scripts (as described in [1]) it might >> still be better to have something dedicated for this --> It might be a >> good idea discussing this now and trying to forge an issue from it >> :-). >> >> One idea which jumps into my mind is something like: add a new tag to >> the features.xml; something like optional-extension. If you enter scr >> and webconsole there it could be installed automatically once both of >> the others are installed. We can scan for such features after each >> feature install. I think it wouldn't be too hard to implement that way >> and could come in quite handy for the current webconsole and the >> future karaf-webconsole. >> >> WDYT? >> >> Kind regards, >> Andreas >> >> [1] https://issues.apache.org/jira/browse/KARAF-201 >> >> On Tue, Jul 24, 2012 at 10:35 PM, Scott England-Sullivan >> wrote: >> > Having a trigger mechanism for features would be very useful. It dawned >> on >> > me while looking into this so its good to hear that it is already in >> > discussion. >> > >> > I will just go with webconsole-scr for the moment and add some doco to >> the >> > Karaf site. >> > >> > Thanks for the input. :-) >> > >> > Best Regards, >> > Scott ES >> > >> > On Tue, Jul 24, 2012 at 2:34 PM, Achim Nierbeck > >wrote: >> > >> >> Hi >> >> >> >> yeah, somewhere in the dev threads there is a discussion about this :) >> >> There should be even some issue for this. >> >> It was decided to postpone this to 3.1 :) >> >> >> >> regards, Achim >> >> >> >> >> >> 2012/7/24 Ioannis Canellos : >> >> > In the past in a similar situation we had something like somefeature >> and >> >> > webconsole-somefeature. >> >> > >> >> > Now, I think that it was Andreas or Achim that proposed to extend the >> >> > feature service to support something like triggers that would install >> >> extra >> >> > bundles for a feature when some conditions are meet. >> >> > In that case it would install webconsone-scr if scr is installed and >> >> > webconsole is also installed. >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > *Ioannis Canellos* >> >> > * >> >> > FuseSource >> >> > >> >> > ** >> >> > Blog: http://iocanel.blogspot.com >> >> > ** >> >> > Twitter: iocanel >> >> > * >> >> >> >> >> >> >> >> -- >> >> >> >> Apache Karaf Committer & PMC >> >> OPS4J Pax Web >> >> Committer & Project Lead >> >> OPS4J Pax for Vaadin >> >> Commiter & Project >> >> Lead >> >> blog >> >> >> > >> > >> > >> > -- >> > -- >> > Scott England-Sullivan >> > ---------------------------------- >> > FuseSource >> > Web: http://www.fusesource.com >> > Blog: http://sully6768.blogspot.com >> > Twitter: sully6768 >> > > > > -- > -- > Scott England-Sullivan > ---------------------------------- > FuseSource > Web: http://www.fusesource.com > Blog: http://sully6768.blogspot.com > Twitter: sully6768