You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2012/11/30 16:09:58 UTC

[jira] [Comment Edited] (FELIX-2892) Get SCR annotations to work with Scala

    [ https://issues.apache.org/jira/browse/FELIX-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507358#comment-13507358 ] 

Reto Bachmann-Gmür edited comment on FELIX-2892 at 11/30/12 3:09 PM:
---------------------------------------------------------------------

I tried it with maven-bundle-plugin 2.3.7 and maven-scr-plugin 1.8.1-SNAPSHOT compiled from trunk, but no OSGI-INF is in the the target jar. Should I use other versions?
Update: it seems to work when I put the <scanClasses>true</scanClasses> in the rightplace
                
      was (Author: reto):
    I tried it with maven-bundle-plugin 2.3.7 and maven-scr-plugin 1.8.1-SNAPSHOT compiled from trunk, but no OSGI-INF is in the the target jar. Should I use other versions?
                  
> Get SCR annotations to work with Scala
> --------------------------------------
>
>                 Key: FELIX-2892
>                 URL: https://issues.apache.org/jira/browse/FELIX-2892
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven SCR Plugin
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Carsten Ziegeler
>
> Currently the maven scr plugin doesn't work with scala, teh main reason for this is that the annotation have only source scope and the adding of bind-methods happe on a source rather than a bytecode level.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira