Hi, On 29.12.2009 20:13, Jérôme Verstrynge wrote: > Thanks Felix. I just have a confirmation question (see below). > > Felix Meschberger wrote: >> The maven-bundle-plugin has very good defaults (which are explained on >> the apache-felix-maven-bundle-plugin-bnd.html page). If you want to >> tweak these defaults add a <configuration> element containing an >> <instruction> element which may take child elements being used as BND >> instructions. >> >> E.g. >> >> <configuration> >> <instructions> >> <Bundle-Activator> >> MyServiceActivator> >> </Bundle-Activator> >> </instructions> >> </configuration> >> >> defines the bundle activator manifest header. >> > According to what you say (and if I understand you correctly), > specifying MyServiceActivator is not necessary, because there can only > be one in activator in the .jar and by default bnd will select it to > populate the MANIFEST, correct?
Yes and no ;-) Yes, there may only be one activator but IIRC neither the maven-bundle-plugin nor BND automagically set the Bundle-Activator header. You have to set it in your instructions as indicated above. The actual value must of course be the fully qualified name of the activator class. Regards Felix >> You may also use component technology such as Declarative Services or >> (Apache Felix) iPojo, which take away many of the day-to-day task for >> setting up services. >> > Just took a look at it, it looks great. Thanks for the pointer !!! > > JVerstry > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

