Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Add the Console to an Eclipse 4 RCP Application
Add the Console to an Eclipse 4 RCP Application [message #1001308] Wed, 16 January 2013 07:58 Go to next message
Vítor Moscon is currently offline Vítor Moscon
Messages: 3
Registered: January 2013
Junior Member
Is it possible to add the Console of Eclipse IDE to an Eclipse e4 RCP application?
If yes, please, how can I do that?
Re: Add the Console to an Eclipse 4 RCP Application [message #1001348 is a reply to message #1001308] Wed, 16 January 2013 09:41 Go to previous messageGo to next message
Dan H.
Messages: 6
Registered: December 2012
Junior Member
hi,

just a quick guess ... if i want to see what is going on i add

-consoleLog

as a cmdline Argument to the executable of my product. I also tried adding -console but as i (now) read in the following link this is used to set the access-port of osgi-console to a specific port (i suppose)

See

http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html?cp=2_1_3_0

for a complete Reference of cmdline args.

HTH,
Dan

//edit: please unread all above if you "just" want a "Console View ViewPart" in your Product ... then i suppose the best/worst info is the following post: http://www.eclipse.org/forums/index.php/t/367427/

Maybe it is implemented in Kepler? Toms reply is already ~6 months old and maybe something has been done to have it implemented/ported?

[Updated on: Wed, 16 January 2013 10:51]

Report message to a moderator

Re: Add the Console to an Eclipse 4 RCP Application [message #1001416 is a reply to message #1001348] Wed, 16 January 2013 11:55 Go to previous messageGo to next message
Vítor Moscon is currently offline Vítor Moscon
Messages: 3
Registered: January 2013
Junior Member
Hi Dan,

Many Thanks for your reply!

What I want is a Console View Part in my Product. So it is a bad news for me!

The good news are that I finish the following tutorial dirksmetric dot wordpress dot com/2012/08/01/tutorial-eclipse-rcp-e4-with-3-x-views-like-project-explorer-properties-etc/#more-132

So I will try to replace the Project Explorer by the Console and call/include this library/plugin with my E4 RCP Application. If I was successful on it I will post the solution here.

Vitor Moscon

[Updated on: Wed, 16 January 2013 11:56]

Report message to a moderator

Re: Add the Console to an Eclipse 4 RCP Application [message #1002335 is a reply to message #1001416] Fri, 18 January 2013 07:20 Go to previous message
sumit singh is currently offline sumit singh
Messages: 129
Registered: October 2012
Location: Bangalore
Senior Member

You can't reuse them in pure E4 RCP application.
If you want to reuse them then you have to use compatibility layer provided by E4.

There is following links which will guide to step by step.
1. Eclipse4CompatibilityLayer
2. http://dirksmetric.wordpress.com/2012/08/01/tutorial-eclipse-rcp-e4-with-3-x-views-like-project-explorer-properties-etc/#more-132
Previous Topic:Eclipse 3.6 rcp to eclipse 4 rcp
Next Topic:How to view sources of internal plugins
Goto Forum:
  


Current Time: Mon Jul 28 08:31:05 EDT 2014

Powered by FUDForum. Page generated in 0.01888 seconds