1

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?

  • 2
    If you mean the OSGI console the section "Console Shell" in the "Platform Plug-in Developer Guide > Programmer's Guide > Runtime overview" section of the Eclipse help describes adding commands to that. – greg-449 Sep 04 '20 at 16:18
  • Thank you for your answer, it helped me a lot! – Nikifor Fedorov Sep 08 '20 at 15:50

1 Answers1

0

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.