Hi Neil,

Yep, I know.
We use Eclipse IDE + Equinox + Maven/M2e + Tycho.
But I tried the Felix SCR with them once and it didn't work well, don't remember the reason. So we give up.

regards,

Cristiano

On 20/03/13 03:28, Neil Bartlett wrote:
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] <mailto:[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] <mailto:[email protected]>
    https://mail.osgi.org/mailman/listinfo/osgi-dev




_______________________________________________
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

Reply via email to