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] Updated: (FELIX-478) Reference Java constants for property values.
Date Tue, 11 Mar 2008 07:10:46 GMT

     [ 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.


Mime
View raw message