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

Reply via email to