You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2008/03/11 08:10:46 UTC

[jira] Updated: (FELIX-478) Reference Java constants for property values.

     [ https://issues.apache.org/jira/browse/FELIX-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated FELIX-478:
-----------------------------------

    Affects Version/s: maven-scr-plugin-1.0.2
        Fix Version/s:     (was: felix-1.0.3)
                       maven-scr-plugin-1.0.3

> 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
>    Affects Versions: maven-scr-plugin-1.0.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin-1.0.3
>
>   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.