felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-478) Reference Java constants for property values.
Date Thu, 31 Jan 2008 18:45:08 GMT
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.


Mime
View raw message