Hi,
I'm trying to create my first bundle with
http://karaf.apache.org/manual/latest-2.2.x/developers-guide/extending-console.html
But I can't install the bundle:
Apache Karaf (4.0.0.M1)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
karaf@root()> osgi:install -s mvn:my.package.etc...
[org.apache.karaf.shell.support.ShellUtil] : Unknown command entered
org.apache.felix.gogo.runtime.CommandNotFoundException: Command not found:
osgi:install
at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
at
org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:266)
at
org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:163)
at
org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:136)
at
org.apache.karaf.shell.impl.console.standalone.Main.run(Main.java:76)
at
org.apache.karaf.shell.impl.console.standalone.Main.main(Main.java:59)
Command not found: osgi:install
(Windows 7 with MINGW32, Karaf 4.0.0.0.M1)
Thanks ;-)
--
Arnaud Vandyck
http://about.me/avdyk