[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] Multiple users and the Equinox console

Some comments
- We are actaully looking at breaking the console out of the framework bundle.  it is interesting to have in there but not for everyone.  There is no particular need for it to be in the framework

- specing -console only controls whether or not the console itself is started.  The bundles that register CommandProvider services will still run (if they ran before) and as such, someone who looked up the command providers will still be able to use the commands.  Note that in general these command implementations are not that useful for other purposes because they do things like output in a text format etc.  It is more interesting to have access to the underlying implementation of the commands and then wrap those in the appropriate IO.  Note also that it is ambiguous as to whether or not the CommandProvider implemenations are intended as generally useful API or simply one bundle's way of hooking into the console mechanism.  So use of these command providers directly as the underpinnings for Web UI or JMX implementations is, IMHO, questionable regardless of -console.

- The Equinox console as it is today is destined to change.  We are not happy with the flat command structure and a few other things.  We'll likely pitch it for 3.4 and use something else.  Perhaps an existing console from Felix of Knopflerfish or ...

- wrt -console itself, it should be possible, at least in principle to start the console after the framework is started.  So should be able to start Equinox without -console and later do something to have he console start.  I believe that we did some prototyping of this in the Equinox/PDE space.


"O'Flynn, Dennis" <Dennis.OFlynn@xxxxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

05/24/2007 10:44 AM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

"Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>
RE: [equinox-dev] Multiple users and the Equinox console

I’m under the assumption that the OSGi console commands are only available when the console is specified (e.g. eclipse –console).  If eclipse is not started with “-console”, than the commands are not registered and not available.
If this assumption is correct, than these commands will only be available via web UI and JMX when Eclipse is started with the console.  Does this have any impact on the usability of the web UI or JMX interface to the OSGi commands?
Can someone confirm or reject this assumption?

From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Jeremy Volkman
Thursday, May 24, 2007 12:01 AM
Equinox development mailing list
Re: [equinox-dev] Multiple users and the Equinox console

On 5/23/07, Jeff McAffer <Jeff_McAffer@xxxxxxxxxx> wrote:
> Or you can implement a web ui using one of the HTTP services available in Equinox.

> The simple answer is that this just was not a requirement.

The nice thing about the built-in console is just that -- it's built into the framework bundle and always there.  A web UI or JMX server can be mistakingly stopped, and then there's no longer any way to control the system.

We do have extensive web UI's in our system that allow us to control all sorts of things, but the console is nice to be able to fall back on.

> Contributions are welcome :-)

I may take you up on that. =)

> Jeff



The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it._______________________________________________
equinox-dev mailing list