You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/07/28 10:56:10 UTC
[jira] [Closed] (FELIX-2906) SCR plugin error with @Property(...,
intValue=Integer.MAX_VALUE)
[ https://issues.apache.org/jira/browse/FELIX-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-2906.
-----------------------------------
> SCR plugin error with @Property(..., intValue=Integer.MAX_VALUE)
> ----------------------------------------------------------------
>
> Key: FELIX-2906
> URL: https://issues.apache.org/jira/browse/FELIX-2906
> Project: Felix
> Issue Type: Bug
> Components: Maven SCR Plugin
> Affects Versions: maven-scr-plugin-1.7.0, scr ant task 1.1.0, scr generator 1.1.0
> Reporter: Bertrand Delacretaz
> Assignee: Carsten Ziegeler
> Priority: Minor
> Fix For: maven-scr-plugin-1.7.2, scr ant task 1.1.2, scr generator 1.1.2
>
>
> This annotation
> @Property(name=Constants.SERVICE_RANKING, intValue=Integer.MAX_VALUE)
> causes the plugin to fail:
> Caused by: org.apache.felix.scrplugin.SCRDescriptorException: Unable to load class
> at org.apache.felix.scrplugin.JavaClassDescriptorManager.getJavaClassDescription(JavaClassDescriptorManager.java:429)
> at org.apache.felix.scrplugin.tags.qdox.QDoxJavaClassDescription.getExternalFieldByName(QDoxJavaClassDescription.java:173)
> at org.apache.felix.scrplugin.tags.annotation.Util$1.visitAnnotationFieldRef(Util.java:412)
> The workaround is to import java.lang.Integer
> This is similar to FELIX-1129 but I don't seem to be allowed to reopen that issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira