O'Reilly logo

Mastering Eclipse Plug-in Development by Dr. Alex Blewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we looked at the Gogo shell and how it can be extended in Equinox. Many of the examples here will work against a Felix implementation as well, although the SSHD example is specific to Equinox. The first part covered basic Gogo syntax, including variables, literals, functions, and how to run the console either locally or via remote access.

The second part of the chapter covered how to extend the console. The simplest kind of extension is with built-in shell functions, which can be iteratively developed or sourced from an external file. However, for more complex commands, shell extensions can be provided in the form of Java objects, which when integrated with Declarative Services or Blueprint, do not need to have any OSGi ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required