I have an OSGi environment which runs on equinox. For the execution of custom comands I use the gogo shell (org.apache.felix.gogo.command, org.apache.felix.gogo.shell).
By default the command scope is set to equinox so the help
command does not print anything. If I use felix:help
it does print all of the available commands.
How do I switch the default command scope to felix
? Is there a way to give the system a startup script which sets that up?
Additionally, how can I force the user to use the scope I introduce in the component property like shown here:
property = {
"osgi.command.scope=myScope",
"osgi.command.function=myFunc"
}
=> I want that the user has to write myScope:myFunc
into the shell. Is that possible anyhow?
Thanks for your help :-)