Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D2BDD414 for ; Sat, 8 Sep 2012 09:13:17 +0000 (UTC) Received: (qmail 29749 invoked by uid 500); 8 Sep 2012 09:13:16 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 29447 invoked by uid 500); 8 Sep 2012 09:13:11 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 29327 invoked by uid 99); 8 Sep 2012 09:13:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Sep 2012 09:13:07 +0000 Date: Sat, 8 Sep 2012 20:13:07 +1100 (NCT) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: <1759757676.53927.1347095587573.JavaMail.jiratomcat@arcas> In-Reply-To: <206136080.12112.1301081765929.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (FELIX-2892) Get SCR annotations to work with Scala MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-2892?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1345= 1280#comment-13451280 ]=20 Carsten Ziegeler commented on FELIX-2892: ----------------------------------------- Actually the scanning is done in the target classes folder: the maven scr p= lugin feeds a list of Source objects into the generator, a source object co= ntains a file object pointing to the source (so this would be the java or t= he scala file) and the class name. This class name is used to find the clas= s 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. =20 > 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=C3=BCr > > Currently the maven scr plugin doesn't work with scala, teh main reason f= or this is that the annotation have only source scope and the adding of bin= d-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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira