Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Show Headless RCP application output in cmd.exe (not osgi console)
Show Headless RCP application output in cmd.exe (not osgi console) [message #514832] Tue, 16 February 2010 18:35 Go to next message
Dawid Kostrzycki is currently offline Dawid KostrzyckiFriend
Messages: 5
Registered: July 2009
Junior Member
Hi all,

how to print the System.out output of my exported RCP application
to the same windows console (cmd.exe) that I use to run the application ??

I don't want to use the -debug option that opens a separate osgi-console
window. Under Linux this is no problem. I remember that in former eclipse
version this was possible.

I created a RCP Plugin project which does not make any contributions to
the UI. Afterwards I configured a product configuration which is used for
the export.
Re: Show Headless RCP application output in cmd.exe (not osgi console) [message #515240 is a reply to message #514832] Thu, 18 February 2010 09:40 Go to previous messageGo to next message
Mohamed Hussein is currently offline Mohamed HusseinFriend
Messages: 71
Registered: July 2009
Member
Hello,

This is a known issue on windows, you can avoid this by using eclipsec.exe as your executable instead of the standard eclipse.exe.

So after you finish your product build, remove your myproduct.exe and replace it with eclipsec.exe (after renaming it of course).

You can find eclipsec.exe in your eclipse installation beside eclipse.exe

Hope this helps.


Best Regards,
Mohamed.
Re: Show Headless RCP application output in cmd.exe (not osgi console) [message #515325 is a reply to message #514832] Thu, 18 February 2010 13:49 Go to previous message
Dawid Kostrzycki is currently offline Dawid KostrzyckiFriend
Messages: 5
Registered: July 2009
Junior Member
Hi all,

I found the solution for this problem at:

http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg23383.html

best regards
Dawid
Previous Topic:Feature-based product build enabling p2
Next Topic:about dialog menu entry
Goto Forum:
  


Current Time: Sun Dec 21 18:15:39 GMT 2014

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

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