You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Douglas Britsch (JIRA)" <ji...@apache.org> on 2010/05/26 19:14:40 UTC
[jira] Created: (FELIX-2359) Property annotation has issues with
comment directly above
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
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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2359) Property annotation has issues with
comment directly above
Posted by "Douglas Britsch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Douglas Britsch updated FELIX-2359:
-----------------------------------
Priority: Minor (was: Major)
> 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
> Priority: Minor
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2359) Property annotation has issues with
comment directly above
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918805#action_12918805 ]
Carsten Ziegeler commented on FELIX-2359:
-----------------------------------------
Hi Douglas, can you please retest with a newer version of the scr plugin?
> 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
> Priority: Minor
>
> 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.
-
You can reply to this email to add a comment to the issue online.