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

Carsten Ziegeler commented on FELIX-2892:
-----------------------------------------

Actually the scanning is done in the target classes folder: the maven scr 
plugin feeds a list of Source objects into the generator, a source object 
contains a file object pointing to the source (so this would be the java or the 
scala file) and the class name. This class name is used to find the class using 
a class loader which includes the target/classes folder.
So I think all we have to do, is to instruct the maven scr plugin to create 
source objects for scala source files and the class which is generated.
                
> 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
>
> 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

Reply via email to