|Re: [equinox-dev] Plans to replace the Console with GoGo for Indigo|
For the extraction of the console in a separate bundle there is a bug opened:
and a patch is provided there.
One of the reasons for considering the moving of the console out of the framework is that adding new features to the console while it is in the framework will increase the size of the framework. The current built-in console lacks telnet supportability features for example. Now if the console stays in the framework, it will not include such features. But such supportability features also improve usability. Probably we should provide them as an optional bundle - anyone who needs them to install this bundle? What I have prepared for the incubator is meant to run as a Gogo command, but it easily may be changed to support both cases – as a Gogo command, and the ConsoleSession interface available since 3.6.
Also, currently the only way to run Gogo on top of Equinox is to start Equinox without the –console option, and make Gogo bundles initially started. So it is not possible to pass –console and start either one, or the other. Probably add an option to specify the console jar/jars, if a console different from the built-in should be started?
We also must consider the amount of work it would take to extract the console out and test it properly. I am reluctant to do any of that work when we want to eventually replace the console implementation with the gogo shell and a bundle that bridges the old equinox command implementations to the new shell.
On 1 Dec 2010, at 22:06, Thomas Watson wrote:
There have been various discussions about replacing our framework console with something a bit more functional and flexible like apache gogo . At this point in the Indigo release we do not plan to remove our own console for the Indigo release. Instead we will do what ever is required to enable the use of gogo on top of Equinox. We would like to use the incubator to allow this effort to mature and then re-evaluate the complete removal of our built-in framework console in a later release. Lazar Kirchev from SAP has been doing various experiments and investigations in this area. My hope is that Lazar will soon be in a position to contribute this work to the equinox incubator so that others can try it out on top of Indigo.
One other advantage would be in slimming down Equinox by providing the console in a separate bundle from the main OSGi runtime.