Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Eclipse Plug-in Development

You're reading from   Mastering Eclipse Plug-in Development Build modular applications on Eclipse by defining custom extension points and using OSGi services

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781783287796
Length 362 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Bandlem Limited Bandlem Limited
Author Profile Icon Bandlem Limited
Bandlem Limited
Alex Blewitt Alex Blewitt
Author Profile Icon Alex Blewitt
Alex Blewitt
Arrow right icon
View More author details
Toc

Consoles in Equinox


Until the end of Eclipse 3.7, Equinox supported a built-in console that was available by running the org.eclipse.osgi JAR file with a -console argument:

$ java -jar org.eclipse.osgi_3.7*.jar -console
Framework is launched.
osgi>

With the release of Eclipse 4.2 (Juno) and onwards, this console is no longer available by default:

$ java -jar org.eclipse.osgi_3.8*.jar -console

This is because the implementation provider for the console defers to the Gogo shell, which was developed by the Apache Felix project.

Tip

Eclipse 4.2 and 4.3 provided an osgi.console.enable.builtin flag to enable the older console, but this was removed in Eclipse 4.4 (Luna).

With Equinox 3.8 (Eclipse Juno 4.2 and above), it is necessary to install additional bundles at start-up to provide a console. This is covered in the Running Equinox from the command line section later in this chapter.

Host OSGi Console

The easiest way to experiment with the console is to use Eclipse's Console View. This is typically...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image