On Wed, Nov 24, 2010 at 22:50, Alasdair Nottingham <[email protected]> wrote:
>
>
> 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?

You can have a look at Aries or Karaf which both heavily use the
plugin and 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?

And also check the namespace on the blueprint element to make sure
it's the right one.

>
>>
>> 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]
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

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

Reply via email to