[
https://issues.apache.org/jira/browse/FELIX-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved FELIX-2359.
-------------------------------------
Resolution: Cannot Reproduce
Fix Version/s: maven-scr-plugin-1.6.0
Assignee: Carsten Ziegeler
I've just tested with the latest plugin (1.6.0) and it works for me; therefore
closing this
> Property annotation has issues with comment directly above
> ----------------------------------------------------------
>
> Key: FELIX-2359
> URL: https://issues.apache.org/jira/browse/FELIX-2359
> Project: Felix
> Issue Type: Bug
> Components: Maven SCR Plugin
> Affects Versions: scr annotations 1.2.0
> Environment: OSX, jdk16 64bit
> Reporter: Douglas Britsch
> Assignee: Carsten Ziegeler
> Priority: Minor
> Fix For: maven-scr-plugin-1.6.0
>
>
> When annotating a member as an OSGi property i get an invalid key generated
> when I put a // comment above.
> For instance:
> public class InstrumentServiceImpl implements InstrumentServiceInterface {
> private static final Logger logger =
> Logger.getLogger(Instrument.class.getName());
>
> // OSGi Configurable Properties
> @Property(name="logPathFormat", value="./log/instrumentation"
> will generate a key that looks like it is concatenating the comment into the
> key name for some reason. "OSGi Configurable Properties
> logPathFormat"
> as a work around if I change it to:
> public class InstrumentServiceImpl implements InstrumentServiceInterface {
> private static final Logger logger =
> Logger.getLogger(Instrument.class.getName());
>
> /** OSGi Configurable Properties */
> @Property(name="logPathFormat", value="./log/instrumentation"
> it works fine
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira