Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 22163 invoked from network); 1 Feb 2008 13:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 13:51:40 -0000 Received: (qmail 90400 invoked by uid 500); 1 Feb 2008 13:51:31 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 90127 invoked by uid 500); 1 Feb 2008 13:51:30 -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 90118 invoked by uid 99); 1 Feb 2008 13:51:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 05:51:30 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 13:51:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E9BB1714047 for ; Fri, 1 Feb 2008 05:51:15 -0800 (PST) Message-ID: <3779521.1201873875881.JavaMail.jira@brutus> Date: Fri, 1 Feb 2008 05:51:15 -0800 (PST) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Subject: [jira] Work started: (FELIX-478) Reference Java constants for property values. In-Reply-To: <25726001.1201805108789.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on FELIX-478 started by Carsten Ziegeler. > Reference Java constants for property values. > --------------------------------------------- > > Key: FELIX-478 > URL: https://issues.apache.org/jira/browse/FELIX-478 > Project: Felix > Issue Type: Improvement > Components: Maven SCR Plugin > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Original Estimate: 0h > Remaining Estimate: 0h > > Current a property value can only be specified directly like @scr.property value="something". > This often leads to typos as it's not possible to verify at build time if the value is correct. > A new attribute valueRef can point to a constant of an (importet) Java class, so something like > @scr.property valueRef="MyConstants.TOPIC" or @scr.property valueRef="TOPIC" will be possible. > The plugin will detect at build time if the constant is available. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.