felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kuffner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3519) [SCR ANT] A activator method without parameters issue a warning and failes the build
Date Wed, 23 May 2012 13:36:41 GMT

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

Daniel Kuffner commented on FELIX-3519:
---------------------------------------

I have to make soem more tests later or tomorrow. I have still the feeling that there is some
inconsistence. :)
thanks for your help.

                
> [SCR ANT] A activator method without parameters issue a warning and failes the build
> ------------------------------------------------------------------------------------
>
>                 Key: FELIX-3519
>                 URL: https://issues.apache.org/jira/browse/FELIX-3519
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Annotations
>    Affects Versions: scr generator 1.1.4
>            Reporter: Daniel Kuffner
>              Labels: annotation, generate, scr, task
>
> The ANT SCR task will produce a warning in case the Component has paramterless activate
method like:
> public void activate() { ... }
> This problem can be fixed by adding a @Activate annnotation to the method.
> However it seems to be a bug that 
> 1. the problem will issue only a warning but breaks the build
> 2. I thought "activate()" is a valid signature.
> I propose either to issue the problem as an error (to make obviouse what actually broke
the build) or to let this warning not break the build.
> Here is my Task execution:
>  <scr srcdir="src/main/java" destdir="target/java" classpathref="scr-classpath"
>            parseJavadoc="false" strictMode="false"
> generateAccessors="false" specVersion="1.1"/>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message