On Wednesday 25 November 2015 18:02:31 Ferry Huberts wrote: > See http://pelagic-open-source.blogspot.nl/2015/08/convert-to-osgi-r6.html > > You probably need these bnd instructions: > -metatypeannotations: * > -dsannotations: *
That did the trick (and both are set in Carsten's sample). Thanks, Ferry! O. > And maybe even: > -dsannotations-options: inherit > > On 25/11/15 17:55, Oliver Lietz wrote: > > On Wednesday 25 November 2015 14:27:28 Carsten Ziegeler wrote: > >> Hi, > > > > Hi Carsten, > > > >> not sure what @interface is, > > > > the custom configuration annotation itself, as in your sample: > > > > public @interface Config { > > > > @AttributeDefinition(name="Easy", description="Maximum value > > for easy") > >> > >> but I have a working example at: > >> > >> https://github.com/cziegeler/samples.guessinggame > > > > It does not compile because of the HTTP Whiteboard dependency, but helps > > though. > > > > The element Designate in metatype's MetaData is missing from the generated > > XML. Will investigate what goes wrong. > > > > Regards, > > O. > > > >> Carsten > >> > >> Oliver Lietz wrote > >> > >>> hi, > >>> > >>> can someone point me to an example of @interface configuration with > >>> Maven > >>> Bundle Plugin and OSGi annotations where the configuration is editable > >>> by > >>> Web Console (metatype)? > >>> > >>> My component is annotated with @Designate(ocd = Configuration.class) and > >>> the configuration gets injected in the activate method, but the > >>> configuration doesn't show up in Web Console (Karaf 4.0.3). > >>> > >>> Is there anything special to look at in the generated XML? > >>> > >>> Thanks, > >>> O. > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > >>> For additional commands, e-mail: users-h...@felix.apache.org > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > > For additional commands, e-mail: users-h...@felix.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org