felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host
Date Thu, 11 Feb 2010 08:04:31 GMT
p.s. Maybe you could create a new JIRA issue for it and attach the test 
case...thanks!

On 2/9/10 3:17 PM, Guo Du wrote:
> On Tue, Feb 9, 2010 at 1:11 AM, Richard S. Hall<heavy@ungoverned.org>  wrote:
>    
>> Is this something you can zip up and give me a link to it? If the bundles in
>> question are not too big, then you can email it to me privately as well.
>> Please tell me the steps to reproduce. Thanks.
>>      
> Hi Richard,
>
> I reproduce the problem with two simple bundles. Attachment is the test bundles.
>
> The test case export a package org.bug.api and import by itself.
>
> Fail silently When the host Bundle-SymbolicName=org.bug.api
> Success When the host Bundle-SymbolicName=org.bug.apix
>
> It may caused the name used as key for maps.
>
>
> ====================================================================
> FAILURE
> ====================================================================
> ->  install file:/tmp/fail/bug.bundle.fragment-0.0.1-SNAPSHOT.jar
> Bundle ID: 3
> ->  install file:/tmp/fail/bug.bundle.host-0.0.1-SNAPSHOT.jar
> Bundle ID: 4
> ->  start 4
> ->  ps
> [   3] [Installed  ] [    1] Unnamed -
> org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
> [   4] [Active     ] [    1] Unnamed -
> org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
>
>
>
>
> ====================================================================
> EXPECTED
> ====================================================================
> ->  install file:/tmp/success/bug.bundle.fragment-0.0.1-SNAPSHOT.jar
> Bundle ID: 3
> ->  install file:/tmp/success/bug.bundle.host-0.0.1-SNAPSHOT.jar
> Bundle ID: 4
> ->  start 4
> DEBUG: WIRE: 4.0 ->  org.osgi.framework ->  0
> DEBUG: FRAGMENT WIRE: 3.0 ->  hosted by ->  4.0
> ->  ps
> [   3] [Resolved   ] [    1] Unnamed -
> org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
> [   4] [Active     ] [    1] Unnamed -
> org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
>
>
> Thanks
>
> -Guo
>    

Mime
View raw message