From commits-return-37072-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Mon Sep 16 13:39:49 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B7038180638 for ; Mon, 16 Sep 2019 15:39:48 +0200 (CEST) Received: (qmail 53233 invoked by uid 500); 16 Sep 2019 13:39:48 -0000 Mailing-List: contact commits-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 commits@karaf.apache.org Received: (qmail 53224 invoked by uid 99); 16 Sep 2019 13:39:48 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Sep 2019 13:39:48 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id AA94380932; Mon, 16 Sep 2019 13:39:47 +0000 (UTC) Date: Mon, 16 Sep 2019 13:39:47 +0000 To: "commits@karaf.apache.org" Subject: [karaf] branch master updated: updated-boot-features-documentation (#908) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <156864118740.30680.4529380446890403678@gitbox.apache.org> From: jbonofre@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: karaf X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f66c91ec5bbff97df5e1109e5657a0f64d4f7a00 X-Git-Newrev: e3f5d90db3a02da8efd140836487c07450b6ba98 X-Git-Rev: e3f5d90db3a02da8efd140836487c07450b6ba98 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. jbonofre pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/karaf.git The following commit(s) were added to refs/heads/master by this push: new e3f5d90 updated-boot-features-documentation (#908) e3f5d90 is described below commit e3f5d90db3a02da8efd140836487c07450b6ba98 Author: Alex <50168932+alex-hat-de-rojo@users.noreply.github.com> AuthorDate: Mon Sep 16 14:39:43 2019 +0100 updated-boot-features-documentation (#908) Update boot features documentation --- manual/src/main/asciidoc/user-guide/provisioning.adoc | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/manual/src/main/asciidoc/user-guide/provisioning.adoc b/manual/src/main/asciidoc/user-guide/provisioning.adoc index 96bc426..255e755 100644 --- a/manual/src/main/asciidoc/user-guide/provisioning.adoc +++ b/manual/src/main/asciidoc/user-guide/provisioning.adoc @@ -123,16 +123,27 @@ To prevent this behaviour, you can specify features as boot features. ==== Boot features -You can describe some features as boot features. A boot feature will be automatically install by Apache Karaf, even if it has -not been previously installed using `feature:install` or FeatureMBean. +A boot feature is automatically installed by Apache Karaf, even if it has not been previously installed using `feature:install` or FeatureMBean. -Apache Karaf features configuration is located in the `etc/org.apache.karaf.features.cfg` configuration file. +The Apache Karaf features configuration is located in the `etc/org.apache.karaf.features.cfg` configuration file. This configuration file contains the two properties to use to define boot features: * `featuresRepositories` contains a list (comma-separated) of features repositories (features XML) URLs. * `featuresBoot` contains a list (comma-separated) of features to install at boot. +======== +To remove features from the `featuresBoot` list in the `etc/org.apache.karaf.features.cfg` configuration file: + +. Navigate to `etc/org.apache.karaf.features.cfg`. +. Remove the undesired feature. +. Restart your container. + +NOTE: After the restart, the features will be present in the `etc/org.apache.karaf.features.cfg` configuration file, but they will not be installed and the undesired feature or behavior will no longer be present or active. + +NOTE: Another way to clean up the `featuresBoot` is to stop Karaf, update `featuresBoot`, and remove the *data* folder. +======== + ==== Features upgrade You can update a release by installing the same feature (with the same SNAPSHOT version or a different version).