Search code examples
eclipsecommand-line-interfaceosgieclipse-rcpequinox

Implementing CLI for OSGi Equinox application


What is a correct way of implementing CLI for Eclipse Equinox Application? How to get any user console input from inside of Equinox-OSGi component to handle it according to application's business logic? Is there a library that already has the described functionality implemented?


Solution

  • You can add custom osgi-console commands in Eclipse really easily, and this tutorial's Extending the console section tells in details how to do that.