felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjun Panday (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-2892) Get SCR annotations to work with Scala
Date Mon, 03 Dec 2012 17:13:59 GMT

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

Arjun Panday commented on FELIX-2892:
-------------------------------------

for info, i'd filed a bug to scala a while ago about this issue:
https://issues.scala-lang.org/browse/SI-4788
The problem is the scala compiler retaining all annotations at runtime .

I think bnd takes this into account and automatically adds 
Ignore-Package: aQute.bnd.annotation.component


                
> 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
>             Fix For: maven-scr-plugin-1.8.2
>
>         Attachments: Foo.class
>
>
> 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

Mime
View raw message