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 4AC479312 for ; Wed, 13 Jun 2012 14:49:44 +0000 (UTC) Received: (qmail 90878 invoked by uid 500); 13 Jun 2012 14:49:44 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 90710 invoked by uid 500); 13 Jun 2012 14:49:43 -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 90699 invoked by uid 99); 13 Jun 2012 14:49:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2012 14:49:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 877C814285F for ; Wed, 13 Jun 2012 14:49:43 +0000 (UTC) Date: Wed, 13 Jun 2012 14:49:43 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: <627950565.12844.1339598983559.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1178770919.6914.1337671721907.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Closed] (FELIX-3519) [SCR ANT] A activator method without parameters issue a warning and failes the build MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed FELIX-3519. ----------------------------------- Resolution: Cannot Reproduce > [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: > 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