Excuse me but are very poorly explained.

I have a feature like this
 <feature name="myfeature" version="1.0.1-SNAPSHOT" start-level='110'>
         <bundle start-level='100'>file:location/bundle1</bundle>
         <bundle start-level='95'>file:location/bundle2</bundle>
 </feature>

When I install my feature I see in the console

[ 183] [Active     ] [            ] [Started] [  100] bundle1
[ 184] [Active     ] [            ] [Waiting] [   95] bundle2


I would have expected

[ 183] [Active     ] [            ] [Waiting] [   95] bundle2
[ 184] [Active     ] [            ] [Started] [  100] bundle1


thanks for the explanation

--Filippo


Il 06 aprile 2012 01:18, Freeman Fang <[email protected]> ha scritto:
> Hi,
>
> This is exactly how start-level in OSGi works, "lower" start-level means it
> need start first.
>
> Freeman
>
> On 2012-4-6, at 上午3:47, Filippo Balicchia wrote:
>
>> Hello,
>> I need to know how bundle start level works.
>> I try to create a feture with two bundle
>> <feature name='my-project' version='1.0.0'>
>>   <bundle
>> start-level='90'>mvn:com.mycompany.myproject/myproject-service</bundle>
>>   <bundle
>> start-level='85'>mvn:com.mycompany.myproject/myproject-dao</bundle>
>> </feature>
>>
>> when the servicemix 4.4.1 (karaf) start and i make an osgi:list I see that
>> myproject-dao load as first and not for second.
>>
>> but this is not 'the result I expected
>>
>> I missed something?
>>
>>
>> thanks for help
>> --Filippo
>
>
> ---------------------------------------------
> Freeman Fang
>
> FuseSource
> Email:[email protected]
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: http://weibo.com/u/1473905042
>
>
>
>
>
>
>
>
>
>

Reply via email to