Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D03D5200CD8 for ; Wed, 2 Aug 2017 17:56:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CEF2F169B71; Wed, 2 Aug 2017 15:56:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 20021169B70 for ; Wed, 2 Aug 2017 17:56:54 +0200 (CEST) Received: (qmail 39171 invoked by uid 500); 2 Aug 2017 15:56:53 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 39157 invoked by uid 99); 2 Aug 2017 15:56:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2017 15:56:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F167A180775 for ; Wed, 2 Aug 2017 15:56:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.613 X-Spam-Level: * X-Spam-Status: No, score=1.613 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id aEFqPi_adDbC for ; Wed, 2 Aug 2017 15:56:50 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F19D65FDB2 for ; Wed, 2 Aug 2017 15:56:49 +0000 (UTC) Received: from mfilter18-d.gandi.net (mfilter18-d.gandi.net [217.70.178.146]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id A093F41C113 for ; Wed, 2 Aug 2017 17:56:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter18-d.gandi.net Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter18-d.gandi.net (mfilter18-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id MlKxXFWL088k for ; Wed, 2 Aug 2017 17:56:48 +0200 (CEST) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.109] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 0D38441C0DA for ; Wed, 2 Aug 2017 17:56:47 +0200 (CEST) Subject: Re: Features automatic vs manual install To: user@karaf.apache.org References: <1501688605107-4051144.post@n3.nabble.com> From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: <14117536-1dba-ae4c-d158-2c31dc356cd3@nanthrax.net> Date: Wed, 2 Aug 2017 17:56:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1501688605107-4051144.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit archived-at: Wed, 02 Aug 2017 15:56:56 -0000 Hi, you have two ways to do that: - on you have the "install" attribute. It's "auto" by default, however, you can use "manual". It should work. - in a feature, on the you have the start attribute. You can control if a bundle stays in resolved state or if it's automatically started. Regards JB On 08/02/2017 05:43 PM, afbagwe wrote: > I'm trying to write a features XML file that will be included in a KAR for > deployment. > While my individual features are functional, when I perform the command: > kar:install file:/path/to/kar > everything gets loaded into Karaf, but all the features are automatically > started. While this is fine for some core pieces there are several optional > ones that I don't want installed by default as they would be a choice > depending on the needs of the application. > How can I construct my features file to accomplish this? > I have already looked at the XSD for features and trying to use the install > attribute on the feature tag, but setting it to either "false" or "manual" > doesn't stop auto installation from occurring. The XSD says this attribute > is a simple string with a minimum length of 1 character with no indication > of what the possible values are. > Thanks, > Allen > > > > -- > View this message in context: http://karaf.922171.n3.nabble.com/Features-automatic-vs-manual-install-tp4051144.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Jean-Baptiste Onofré jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com