[
https://issues.apache.org/jira/browse/FELIX-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075972#comment-14075972
]
Jyrki Ruuskanen commented on FELIX-4584:
----------------------------------------
You're right. I overlooked these consequences.
I'll create a helper class to read the values from component description XML
instead, as you suggested. Thank you very much for this information.
> Change retention to RUNTIME for Property and Properties annotations
> -------------------------------------------------------------------
>
> Key: FELIX-4584
> URL: https://issues.apache.org/jira/browse/FELIX-4584
> Project: Felix
> Issue Type: Improvement
> Components: SCR Tooling
> Reporter: Jyrki Ruuskanen
> Priority: Minor
>
> This change allows us to access Property annotation values in plain java unit
> tests. Without this our unit tests would have to run in an SCR-capable
> container.
> You may consider changing the retention for the whole lot (why not), but at
> least these two are necessary.
> https://github.com/apache/felix/pull/9
--
This message was sent by Atlassian JIRA
(v6.2#6252)