Alasdair

On 24 Nov 2010, at 21:16, John Bäckstrand <[email protected]> wrote:

> I am wondering if there is any small samples available that use
> maven-bundle-plugin and osgi blueprint?
> 
> The bundle plugin seems to recognize the blueprint xml in
> OSGI-INF/blueprint, since if I malform this file it will complain, it also
> adds an erronous (?) import-package for org.osgi.service.blueprint that I
> have to ignore.

In fact the blueprint spec strongly encourages this package to be imported. It 
allows disambiguation if there are multiple blueprint runtimes, so only one 
implementation will process the blueprint.

> But nothing happens with this file:
> 
> <bean id="majs" class="se.sandos.android.delayed.server.impl.M">
> </bean>
> <ma/>
> <bean class="se.sandos.android.delayed.server.impl.Main" activation="eager">
>   <property name="fetcher" ref="majs"/>
> </bean>

Do you have this in a <blueprint> element?

> 
> It seems the blueprint bundle is not doing anything proactively when I just
> deploy my bundle together with the blueprint one.

Where do you get your blueprint implementation from?

> 
> -- 
> John Bäckstrand

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to