Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 74627 invoked from network); 31 Jan 2008 18:45:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2008 18:45:32 -0000 Received: (qmail 22132 invoked by uid 500); 31 Jan 2008 18:45:23 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 22102 invoked by uid 500); 31 Jan 2008 18:45:22 -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 22093 invoked by uid 99); 31 Jan 2008 18:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 10:45:22 -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; Thu, 31 Jan 2008 18:45:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C377571403C for ; Thu, 31 Jan 2008 10:45:08 -0800 (PST) Message-ID: <25726001.1201805108789.JavaMail.jira@brutus> Date: Thu, 31 Jan 2008 10:45:08 -0800 (PST) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-478) Reference Java constants for property values. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.