You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/08/31 11:45:09 UTC
[jira] [Commented] (KARAF-841) Cellar shell commands are not
available on Equinox
[ https://issues.apache.org/jira/browse/KARAF-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094402#comment-13094402 ]
Jean-Baptiste Onofré commented on KARAF-841:
--------------------------------------------
The issue was about the Felix maven-bundle-plugin: if we use package*, and our bundle doesn't explicitly reference these packages, the maven-bundle-plugin doesn't include it in the MANIFEST.
So, it means that the org.apache.karaf.shell.console* packages were not present in the MANIFEST, that's why the commands were not available on Equinox.
I'm updating the POM to replace org.apache.karaf.shell.console* import statement by org.apache.karaf.shell.console, org.apache.karaf.shell.console.commands and org.apache.karaf.shell.console.completer packages explicitly.
Without the *, the maven-bundle-plugin will define these packages in the MANIFEST.
> Cellar shell commands are not available on Equinox
> --------------------------------------------------
>
> Key: KARAF-841
> URL: https://issues.apache.org/jira/browse/KARAF-841
> Project: Karaf
> Issue Type: Bug
> Components: cellar-shell
> Affects Versions: cellar-2.2.2, cellar-2.2.1
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: cellar-3.0.0, cellar-2.2.3
>
>
> When installing Cellar on a Karaf instance running with Equinox OSGi framework, the shell commands are not available.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira