|Re: [equinox-dev] Plans to replace the Console with GoGo for Indigo|
Technically if the framework is configured with the Gogo bundles to be installed and started, and is run without the –console option, it should work just fine. But users are accustomed to use the -console option. When they eventually start Equinox, configured with Gogo, with the –console option, they will have a framework with two shells, fighting with each other for resources. This may be a problem.
IMHO the bar for Indigo is pretty low. We need to make sure that Gogo can run properly on Equinox. All servicability extension work can be focused on using Gogo. Having a way to disable the current console would be interesting but not essential. Don't want the console? don't put -console on the command line.
I'm reluctant to put any logic in the framework or launcher to choose between consoles or search for console implementations or... People shipping configurations where they want to use Gogo should setup their config to have Gogo installed and started. We may choose in the future to supply such a setup from Equinox and there can even be a bundle that looks for a -gogo command line arg but that should not be in the framework impl.
So, what do we actually have to do here?
On 2010-12-02, at 1:44 PM, Thomas Watson wrote:
This is the kind of thing I want to address for 3.7 to enable the use of bundles on top of the framework to provide the console. Ideally this would involve a way to configure the framework so that the -console option just did what you need to get your bundles started as well as completely disabling the console support built into the framework. I think that is part of the solution proposed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=169603
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.