Hej, Jeśli idzie o commandy to obecnie bez blueprinta bardzo ciężko jest zmusić je do działania. Jeśli spojrzysz na to, jak jest napisany NamespaceHandler do blueprinta to doszukasz się opakowywania wszystkiego w BlueprintCommand.
Są zmiany w związku z tym w karafie 3.x lub 3.1 jeśli dobrze pamiętam, ale pod SMX masz jeszcze 2.x. Możesz próbować jeszcze na podstawowym gogo, wtedy podpowiadanie tab nie będzie działać. Pozdrawiam, Łukasz Wiadomość napisana przez parszywyniedzwiedz <[email protected]> w dniu 30 kwi 2014, o godz. 11:13: > I have implemented a set of "org.apache.felix.shell.Command"s with the > purpose of utilizing it in Apache Servicemix. The commands are being > registered with "org.osgi.framework.BundleActivator" (Blueprint not involved > as it often collides with Spring that I use extensively). I have tested the > commands with Pax-Exam and all seems to be working fine. However when > deployed to the actual Servicemix container the commands are not available. > > I have stumbled upon the following > (http://t20025.apache-karaf-user.apachetalks.us/getting-felix-scr-commands-to-show-up-in-karaf-t20025.html), > however the suggested solution is not working for me. > > Did anyone experienced similar problem and managed to find a working > solution? > > Link to the same question on stackoverflow: > http://stackoverflow.com/questions/23375368/org-apache-felix-shell-command-and-servicemix > > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/org-apache-felix-shell-Command-and-Servicemix-tp5720100.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
