You know that both the bnd and Felix SCR annotations work at build-time, so you can already use them, you don't need to wait for Equinox to implement anything...
Neil On Wed, Mar 20, 2013 at 5:21 AM, Cristiano Gavião <[email protected]>wrote: > Hello, > > I'm trying to register a command using DS but I'm getting an error because > "osgi.command.function" is an array. > > <property name="osgi.command.function" value="spellcheck"> > > > I'm not using annotation because equinox doesn't implement it yet. > So could someone tell me how is the generated xml for the > "osgi.command.function" property of the component below? > > @Component(provides={SpellChecker.class}, > properties={@Property(name=CommandProcessor.COMMAND_SCOPE, > value="dmsample.annotation"), > @Property(name=CommandProcessor.COMMAND_FUNCTION, > values={"spellcheck"})})public class SpellChecker { > // --- Gogo Shell command > > thanks in advance and regards, > > Cristiano > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev >
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
