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 CB0D4993C for ; Wed, 26 Sep 2012 15:23:07 +0000 (UTC) Received: (qmail 69077 invoked by uid 500); 26 Sep 2012 15:23:07 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 69056 invoked by uid 500); 26 Sep 2012 15:23:07 -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 69048 invoked by uid 99); 26 Sep 2012 15:23:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 15:23:07 +0000 Date: Thu, 27 Sep 2012 02:23:07 +1100 (NCT) From: "Andreas Pieber (JIRA)" To: issues@karaf.apache.org Message-ID: <2009446449.128802.1348672987753.JavaMail.jiratomcat@arcas> In-Reply-To: <557269520.1464.1344859657949.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (KARAF-1718) Add support for support for conditional bundle and feature definition inside features 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-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463891#comment-13463891 ] Andreas Pieber commented on KARAF-1718: --------------------------------------- keep old behavior of bundle start order: Committing to https://svn.apache.org/repos/asf/karaf/trunk ... M features/core/src/test/java/org/apache/karaf/features/FeaturesServiceTest.java M features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java Committed r1390556 > Add support for support for conditional bundle and feature definition inside features > ------------------------------------------------------------------------------------- > > Key: KARAF-1718 > URL: https://issues.apache.org/jira/browse/KARAF-1718 > Project: Karaf > Issue Type: New Feature > Affects Versions: 2.3.0, 3.1.0 > Reporter: Ioannis Canellos > Attachments: KARAF-1718.patch.txt > > > There have been many talks in the past about modifying the feature service so that it can install bundles/features/configuration when some special conditions are meet. > I am attaching a patch which allows the user to define an additional subelement under the feature element, that defines such conditions and what should be installed when the conditions are meet. > A simple example: > > eventadmin > mvn:org.apache.felix/org.apache.felix.metatype/${felix.metatype.version} > mvn:org.apache.felix/org.apache.felix.scr/${felix.scr.version} > mvn:org.apache.karaf.scr/org.apache.karaf.scr.command/${project.version} > > management > mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/${project.version} > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira