You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2011/08/09 15:22:27 UTC
[jira] [Commented] (FELIX-3072) Bad manifest content on
Import-package part
[ https://issues.apache.org/jira/browse/FELIX-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081612#comment-13081612 ]
Marcel Offermans commented on FELIX-3072:
-----------------------------------------
The bundle embeds a copy of the API so it doesn't depend on a "compendium" bundle. It exports and imports these packages to provide substitutability. In other words, I don't think there is a bug here. It will either use its own copy or someone else's via its imports: http://felix.apache.org/site/apache-felix-osgi-faq.html#ApacheFelixOSGiFAQ-Shouldabundleimportitsownexportedpackages%253F
> Bad manifest content on Import-package part
> -------------------------------------------
>
> Key: FELIX-3072
> URL: https://issues.apache.org/jira/browse/FELIX-3072
> Project: Felix
> Issue Type: Bug
> Components: Deployment Admin
> Affects Versions: deploymentadmin-0.9.0
> Environment: linux (archlinux
> Reporter: Thierry D.
> Priority: Minor
> Labels: build
>
> The "Import-Package" parameter of the bundle's manifest file should not contain "org.osgi.service.deploymentadmin" packages classes
> because it embeds these classes.
> this "bug" generates "ClassNotFound" exception when you use the webconsole bundle felix plugin.
> original parameter value :
> Import-Package: org.apache.felix.dm;version="[3.0,4)",org.osgi.framework;version="[1.5,2)",org.osgi.service.deploymentadmin;version="1.1,2)",org.osgi.service.deploymentadmin.spi;version="[1.0,2)",org.osgi.service.event;version="[1.2,2)",org.osgi.service.log;version="1.3,2)",org.osgi.service.packageadmin;version="[1.2,2)"
> suggested parameter value (fix ?):
> Import-Package: org.apache.felix.dm;version="[3.0,4)",org.osgi.framework;version="[1.5,2)",org.osgi.service.event;version="[1.2,2)",
> org.osgi.service.log;version="[1.3,2)",org.osgi.service.packageadmin;version="[1.2,2)"
> unfortunatelly I am not able to provide a fix because I dont know how the osgi bunble maven plugin work exactly.
> I hope this will help you
> regards
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira