Hi list, I have now tried for quite some time to create a shell command which features auto completion of its single argument to a path to a file on the local disk. I guess that using blueprint this is easily done by basically following the tutorial at http://karaf.apache.org/manual/2.2.7/developers-guide/extending-console.html and using a FileNameCompleter.
However, since we use Guice/Peaberry a lot in our applications, blueprint does not seem like an option to me (and - besides the additional complexity - mixing two DI frameworks does not sound like a good idea, anyway). I have easily managed to get the command into Karaf, all working well. But the auto completion is driving me crazy. In blueprint it is simply configured as a bean in an XML file - but how to I configure this *without* blueprint? Is there an OSGi service property I am missing? Is it impossible for some reason? Best, Oliver
