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] [Commented] (FELIX-4159) Error when declaring a multivalued property using the OSGi 4.3 Annotation DS standard
Date Wed, 03 Jul 2013 16:46:20 GMT

    [ https://issues.apache.org/jira/browse/FELIX-4159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699155#comment-13699155
] 

Carsten Ziegeler commented on FELIX-4159:
-----------------------------------------

Thanks for reporting, I've committed a potential fix - could you please try the latest ds-annotations
from svn trunk?
                
> Error when declaring a multivalued property using the OSGi 4.3 Annotation DS standard
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-4159
>                 URL: https://issues.apache.org/jira/browse/FELIX-4159
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: scr ds annotations 1.2.2
>            Reporter: Cristiano GaviĆ£o
>            Assignee: Carsten Ziegeler
>             Fix For: scr ds annotations 1.2.4
>
>
> When trying to declare a DS component with a property with multiple values like this:
> @Component(name = "My commands", property={"foo:Integer=1","foo:Integer=2","foo:Integer=3"})
> Class MyCommandsComponent
> I'm getting the following error:
> > Duplicate definition for property foo in class MyCommandsComponent (org.apache.felix:maven-scr-plugin:1.13.0:scr:generate-scr-scrdescriptor:process-classes)
> I'm using this dependency:
>         <dependency>
>             <groupId>org.apache.felix</groupId>
> <artifactId>org.apache.felix.scr.ds-annotations</artifactId>
>         </dependency> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message