Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How to launch Equinox 3.8 to console?
How to launch Equinox 3.8 to console? [message #904546] Tue, 28 August 2012 16:49 Go to next message
Libor Jelinek is currently offline Libor JelinekFriend
Messages: 143
Registered: January 2012
Location: Prague, Czech Rep.
Senior Member

Hi everbody,
I'm almost afraid of asking you but how to launch Equinox 3.8 with console?

In Equinox 3.7 I was used to
$ java -jar ~/path/to/org.eclipse.osgi_3.7.2.v20120110-1415.jar -console

This morning I've just downloaded Equinox 3.8 SDK and issuing
$ java -jar
~/path/to/equinox-SDK-3.8/plugin/org.eclipse.osgi_3.8.0.v20120529-1548.jar
-console

does nothing. Equinox doesn't quit but doesn't present a console.
However jps or VisualVM reveals that it's running (probably) normally.
** Was -console option removed? **

Appending -consoleLog forces Equinox JAR to show me at least this:

!ENTRY org.eclipse.osgi 4 0 2012-08-28 18:48:20.101
!MESSAGE Could not find bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not find bundle:
org.eclipse.equinox.console
at
org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:151)

Last but not least: Where are changes 3.7 -> 3.8 documented, please?

Thanks
Libor
Re: How to launch Equinox 3.8 to console? [message #904765 is a reply to message #904546] Wed, 29 August 2012 05:54 Go to previous messageGo to next message
Lazar Kirchev is currently offline Lazar KirchevFriend
Messages: 30
Registered: July 2009
Location: Sofia, Bulgaria
Member
Hello Libor,

Changes in Equinox console 3.7 -> 3.8 are described here:
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fporting%2F4.2%2Fincompatibilities.html&cp=2_3_0_2&anchor=osgiconsole

but essentially the new console in Equinox 3.8 is described here (the above documents links to this one):
http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/console_shell.htm

The most important change is that the console is no longer part of the framework bundle, it is detached in its own bundle, org.eclipse.equinox.console. It also depends on Apache Gogo shell. So the following 4 shell bundles should be started with the Equinox framework bundle in order to have a running console:

org.eclipse.equinox.console
org.apache.felix.gogo.runtime
org.apache.felix.gogo.command,
org.apache.felix.gogo.shell

The second of the above documents describes how to start the console. You could list the four bundles as a value of the property osgi.bundles, either in config.ini file, or as a system argument on command line.

HTH
Lazar
Re: How to launch Equinox 3.8 to console? [message #904930 is a reply to message #904765] Wed, 29 August 2012 12:00 Go to previous messageGo to next message
Libor Jelinek is currently offline Libor JelinekFriend
Messages: 143
Registered: January 2012
Location: Prague, Czech Rep.
Senior Member

Hello Lazar,
thank you so much. Have to say sorry to missed checkout a Juno's online
help at first.

What is Gogo good for? Why old console is removed (okay, disabled by
default)? Issuing "help" in Gogo flooded my screen with tons of
something cryptic text that is not helpful anyway to me.

I tried to read all what Google offered to me when searching for OSGi
RFC132 and Felix Gogo but no document/blogpost shown me what is
motivation or user advantage of this...

This is not intention to start a flame war, just a Equinox 3.8 newcomer
question.

Thanks a lot in advance!
Libor

On 08/29/2012 07:54 AM, Lazar Kirchev wrote:
> Hello Libor,
>
> Changes in Equinox console 3.7 -> 3.8 are described here:
> http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fporting%2F4.2%2Fincompatibilities.html&cp=2_3_0_2&anchor=osgiconsole
>
>
> but essentially the new console in Equinox 3.8 is described here (the
> above documents links to this one):
> http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/console_shell.htm
>
>
> The most important change is that the console is no longer part of the
> framework bundle, it is detached in its own bundle,
> org.eclipse.equinox.console. It also depends on Apache Gogo shell. So
> the following 4 shell bundles should be started with the Equinox
> framework bundle in order to have a running console:
>
> org.eclipse.equinox.console
> org.apache.felix.gogo.runtime
> org.apache.felix.gogo.command,
> org.apache.felix.gogo.shell
>
> The second of the above documents describes how to start the console.
> You could list the four bundles as a value of the property osgi.bundles,
> either in config.ini file, or as a system argument on command line.
>
> HTH
> Lazar
Re: How to launch Equinox 3.8 to console? [message #904935 is a reply to message #904930] Wed, 29 August 2012 12:05 Go to previous message
Libor Jelinek is currently offline Libor JelinekFriend
Messages: 143
Registered: January 2012
Location: Prague, Czech Rep.
Senior Member

I appreciate tab-completion, SSH/telnet, JAAS, ... but what are other
benefits/motivation of RFC132/Gogo....

And, OMG, how to paginate output of help? Good old "more" is gone
("gogo: CommandNotFoundException: Command not found: more")...

Thanks
Libor

On 08/29/2012 02:00 PM, Libor Jelinek wrote:
> Hello Lazar,
> thank you so much. Have to say sorry to missed checkout a Juno's online
> help at first.
>
> What is Gogo good for? Why old console is removed (okay, disabled by
> default)? Issuing "help" in Gogo flooded my screen with tons of
> something cryptic text that is not helpful anyway to me.
>
> I tried to read all what Google offered to me when searching for OSGi
> RFC132 and Felix Gogo but no document/blogpost shown me what is
> motivation or user advantage of this...
>
> This is not intention to start a flame war, just a Equinox 3.8 newcomer
> question.
>
> Thanks a lot in advance!
> Libor
>
> On 08/29/2012 07:54 AM, Lazar Kirchev wrote:
>> Hello Libor,
>>
>> Changes in Equinox console 3.7 -> 3.8 are described here:
>> http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fporting%2F4.2%2Fincompatibilities.html&cp=2_3_0_2&anchor=osgiconsole
>>
>>
>>
>> but essentially the new console in Equinox 3.8 is described here (the
>> above documents links to this one):
>> http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/console_shell.htm
>>
>>
>>
>> The most important change is that the console is no longer part of the
>> framework bundle, it is detached in its own bundle,
>> org.eclipse.equinox.console. It also depends on Apache Gogo shell. So
>> the following 4 shell bundles should be started with the Equinox
>> framework bundle in order to have a running console:
>>
>> org.eclipse.equinox.console
>> org.apache.felix.gogo.runtime
>> org.apache.felix.gogo.command,
>> org.apache.felix.gogo.shell
>>
>> The second of the above documents describes how to start the console.
>> You could list the four bundles as a value of the property osgi.bundles,
>> either in config.ini file, or as a system argument on command line.
>>
>> HTH
>> Lazar
Previous Topic:unable to use secure storage with headless antRunner app
Next Topic:core.runtime vs. equinox.common
Goto Forum:
  


Current Time: Fri Apr 19 11:20:52 GMT 2024

Powered by FUDForum. Page generated in 0.01846 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top