You have to import it with status=provisional, since the Gogo API is
based on unreleased OSGi API, so it will change in the future and we are
warning you about this by making the "status" attribute mandatory.
-> richard
On 4/4/11 17:17, Donald Whytock wrote:
Hi all...
I'd like to execute felix shell commands from inside a bundle. Used
to was, that was done with org.apache.felix.shell.ShellService. I
assume it's done now using
org.apache.felix.service.command.CommandSession, fetched from
org.apache.felix.service.command.CommandProcessor.
But I can't seem to connect to package
org.apache.felix.service.command. My manifest:
Import-Package: org.osgi.framework,
org.chatterbot.parser,
org.apache.felix.service.command
Export-Package: org.chatterbot.parsers.shellparser
Bundle-Activator: org.chatterbot.parsers.shellparser.activator
Bundle-Name: Chatterbot ShellParser
When I try to start the bundle I get "missing requirement package;
(package=org.apache.felix.service.command)"
I've tried adding ";version="0.8.0"" and it doesn't help. And yes, I
have the three gogo bundles loaded and active. I even checked the gogo
runtime .jar's manifest to make sure it was exporting the package.
Any ideas?
Thanks...
Don
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]