karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3642) bundles mistaken got unstalled even though it has a depending feature with it.
Date Fri, 03 Apr 2015 03:50:52 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved KARAF-3642.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.4
                   2.4.2

commit fix
http://git-wip-us.apache.org/repos/asf/karaf/commit/2a7bd9a5 for karaf-3.0.x branch
http://git-wip-us.apache.org/repos/asf/karaf/commit/b2c7c328 for karaf-2.x branch

> bundles mistaken got unstalled even though it has a depending feature with it. 
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-3642
>                 URL: https://issues.apache.org/jira/browse/KARAF-3642
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.4.2, 3.0.4
>
>
> for an instance, we have a simple features.xml like
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <features name="ENTESB-2911"
>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"
>         xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.0.0 http://karaf.apache.org/xmlns/features/v1.0.0">
>   <feature name='featureA' version='2.15.0' resolver='(obr)' start-level='50'>
>     <feature version='2.15.0'>camel-core</feature>
>     <feature version='2.15.0'>featureB</feature>
>   </feature>
>   <feature name='featureB' version='2.15.0' resolver='(obr)' start-level='50'>
>     <bundle dependency='true'>mvn:com.google.guava/guava/18.0</bundle>
>     <bundle>mvn:org.apache.camel/camel-guava-eventbus/2.15.0</bundle>
>   </feature>
>   <feature name='featureC' version='2.15.0' resolver='(obr)' start-level='50'>
>     <bundle>mvn:com.google.guava/guava/18.0</bundle>
>   </feature>
> </features>
> {code}
> If we install featureC, featureA, then we uninstall featureC, we can see bundle
> mvn:com.google.guava/guava/18.0
> get uninstalled even though it still used in featureA



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message