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? > > > > 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. > > Ah, yeah, I learned I could un-ignore it when using an ares blueprint snapshot since it exports that package. > > 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? Yes, I do. With the correct namespace as far as I know. > > > > 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? > > I tried this with a gemini (eclipse?) implementation and now I am using an aries snapshot that I compiled from SVN. I see that ares using sl4j for logging, but how do I set the loglevel? I am using pax runner and I set the log level for that to debug, but it does not seem to affect anything else. I will try to produce a smaller sample that I can post, but at the moment the code is a bit messy.

