Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] What eclipse target platform feature includes the eclipse plugin?

>>>>> "David M Williams" <david_williams@xxxxxxxxxx>:

>> So I should have all of the required bundles in the target platform.

> "in the target" is key. I am not sure if you are still having problems, or 
> not. 
> But "the target" only applies its functionality when you 
> do a "run as ... Eclipse application" or what ever it is you are running.

That's what I'm doing.  I am running an eclipse application containing a
GEF editor.

The GEF editor requires an OSGi bundle I have installed into the target
platform from a maven dependency, and I wanted the OSGi console to take
a look at the state of that bundle.

(I know the gogo shell from before so I know what to expect when I find it)

> But to answer what you actually asked (I think): 

> -console on command line gives you a separate "shell-like" window. 

Yes, and I was trying to figure out what "separate" meant in this case.

I've found it today: it's one of the consoles that show up in the
dropdown menu of the "Display Selected Console" toolbutton in the
console view of the host eclipse IDE.

In my case that console is titled "modeler.core [Eclipse Application]
C:\Program Files\Java\jre1.8.0_66\bin\javaw.exe" in the dropdown menu.

"modeler.core" is the name of the particular runtime configuration.

> -consolelog on command line will too. 
> The difference is when you use "-console" 
> if you press 'enter' you will see an "osgi>" prompt. 
> For '-consolelog', pressing enter just gives you a blank line.

-consoleLog also outputs everything written to the stdout (and probably)
stderr of the eclipse application (at least it seems to do so.

> In the IDE, If you select "Host OSGi Console" it gives you something
> similar to "-console" on command line but as a "console view" in the
> IDE. It will start off saying

> WARNING: This console is connected to the current running instance of 
> Eclipse!
> osgi> 


> That is, do not type 'exit' there! :) 
> In both cases, if you type 'help' you will see the commands available -- 
> if you have any commands available? 

> The 'console' view you mentioned is just a generic plan console that will 
> echo 'sysout' (usually?) when you "run" something in IDE. 

> Lots more technical detail (much more than you need to know :) at 
> (And, probably elsewhere in 'help')


Back to the top