[
https://issues.apache.org/jira/browse/FELIX-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed FELIX-478.
----------------------------------
Resolution: Fixed
Fix Version/s: 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
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: 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.