felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-2892) Get SCR annotations to work with Scala
Date Mon, 01 Oct 2012 06:27:07 GMT

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

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

Ok, how about this:
Instead of scanning just the source tree, we scan both, source tree and class files. If we
know the source, we create a source object with source and class file, if we just have a class,
we create a source file with an "unknown" source object.
Obviously this slows down the build process, so it would be nice if we could have some trigger
for also scanning the classes directory. We could either make this configurable and have it
off by default, or check for src/main/scala and/or src/main/scripts or something like that.

WDYT?
                
> 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

Mime
View raw message