Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1ECCC1881F for ; Thu, 14 Jan 2016 12:43:40 +0000 (UTC) Received: (qmail 57589 invoked by uid 500); 14 Jan 2016 12:43:40 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 57563 invoked by uid 500); 14 Jan 2016 12:43:40 -0000 Mailing-List: contact issues-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 issues@karaf.apache.org Received: (qmail 57552 invoked by uid 99); 14 Jan 2016 12:43:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2016 12:43:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CFD062C1F5C for ; Thu, 14 Jan 2016 12:43:39 +0000 (UTC) Date: Thu, 14 Jan 2016 12:43:39 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-2752) Provide a way to override bundles at feature installation time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098064#comment-15098064 ] ASF subversion and git services commented on KARAF-2752: -------------------------------------------------------- Commit 84b1981fe26f974414c9b7e7b768fddc8c1cd1db in karaf's branch refs/heads/master from [~chris@die-schneider.net] [ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=84b1981 ] [KARAF-2752] Small refactoring > Provide a way to override bundles at feature installation time > -------------------------------------------------------------- > > Key: KARAF-2752 > URL: https://issues.apache.org/jira/browse/KARAF-2752 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Reporter: Guillaume Nodet > Assignee: Guillaume Nodet > Fix For: 3.0.1 > > > This would be very beneficial when trying to provide some kind of "patched" distributions of Karaf and based applications. > When installing features, if you want to modify a bundle, the only way is to release a new feature file which can be problematic, especially when the target bundle is a transitive dependency, because you then need to release multiple features descriptors in various projects. > The idea is to provide a simple file in etc/overrides.properties which will contain a list of bundle urls to consider as replacements when installing features. Before installation, bundles will be scanned for matching overrides. > Matching is done so that the target and override bundles must have the same symbolic name and the target bundle version must has the same major and minor version than the override bundle. This version range can be specified manually using something like: > {code} > url;range="[2,3)" > {code} > in which case, any target bundle matching the version range and the symbolic name will be overriden. -- This message was sent by Atlassian JIRA (v6.3.4#6332)