Hi,

I'd like to use declarative services to install/start all the bundle in a
given folder, and let them activate themselves properly.

I've got 3 bundle A <- B <- C (C depends on B which depends on A)

First one to start is A : OK
Second is C              : unresolved package error because it needs
packages provided by B


I hove to tell you than if I rename C, so it is found before B, then
everything works, obviously :)

How does this SCR thing work? HEEEEELP :(

___ here's my .xml for C ___
 
<?xml version="1.0" encoding="UTF-8"?>
<component name="my.name" immediate="true">

    <implementation class="my.impl"/>

    <property name="service.description" value="Demo."/>
    <property name="service.vendor" value="Pigelvy"/>

    <!-- provided by A -->  
    <reference name="ted"
               interface="org.elvya.A"
               cardinality="1..1"
               policy="static"
               bind="bindApplication"
               unbind="unbindApplication"/>

    <!-- provided by B -->  
    <reference name="entity plugin"
               interface="org.elvyb.b"
               cardinality="1..1"
               policy="static" />

</component>


-----
Tell me something you don't know!
-- 
View this message in context: 
http://www.nabble.com/SCR-and-bundle-activation-order-tp16851288p16851288.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to