Hello

I was hoping that with support for annotations the scr plugin would work
with scala code as well. But in my mixed java/scala project it seems to
only look at the annotations in the java sources.

@Component
public class Service {

    @Property(value = "default value")
    static final String CONSTANT_NAME = "property.name";
}

---> results in an entry in OSGI-INF/serviceComponents.xml

package org.trialox.sandbox.scr {
    @Component class ScalaService {

        @Property{ val value = Array("default value")}
        val CONSTANT_NAME = "property.name";
    }
}

--> no mention in OSGI-INF/serviceComponents.xml

do I need particular settings for the scr plugin to have it look at the
scala file as well?

Cheers,
reto

-- 
Reto Bachmann-Gmür
trialox.org
Tel: +41445005015



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to