Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » LaunchConfiguration -> Output
LaunchConfiguration -> Output [message #325184] Tue, 12 February 2008 04:31 Go to next message
Eclipse UserFriend
Originally posted by: b26rsfdi8r6u643.mail.svenz.eu

Hi,

I'm looking for a possibility to specify the stream/ location where to
write the output of the launched target. I don't want to set the
OutputStream within the LaunchConfigurationDelegate to keep up the
separation of the non-UI & UI code, e.g. when using Console view
(ConsolePlugin).
I wasn't able to determine who the java launcher does that, but I guess it
somehow correlates with the LaunchConfiguration itself!?

Any hints!?


Regards, Tom.
Re: LaunchConfiguration -> Output [message #325404 is a reply to message #325184] Mon, 18 February 2008 03:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b26rsfdi8r6u643.mail.svenz.eu

Hi,

sorry to push my own thread, but I still haven't found a satisfying
solution and it would be great if there still turn up a hint from you guys
:]

Thanks, Tom.
Re: LaunchConfiguration -> Output [message #325451 is a reply to message #325404] Tue, 19 February 2008 05:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
AFAIK, the "trick" to show output in the debug console of a launched
object/process is within the IProcess implementation.
IProcess.getStreamsProxy() returns a proxy object which is used to connect
error and output stream to the debug console. Problem is, if you don't
maintain you own process implementation/debug model, I cannot see how to
influence IProcess.getStreamsProxy().
Regards, Uwe

"Tom Oleg" <b26rsfdi8r6u643@mail.svenz.eu> wrote in message
news:fbc463c27fe4e0b807dba2f2bfe38078$1@www.eclipse.org...
> Hi,
>
> sorry to push my own thread, but I still haven't found a satisfying
> solution and it would be great if there still turn up a hint from you guys
> :]
>
> Thanks, Tom.
>
Re: LaunchConfiguration -> Output [message #325497 is a reply to message #325451] Wed, 20 February 2008 05:15 Go to previous message
Eclipse UserFriend
Originally posted by: b26rsfdi8r6u643.mail.svenz.eu

Hmmm, first of: thanks for your reply :)
Regarding the StreamsProxy thing: I guess I'm struggling with a more basic
issue. How do I access any of these objects from "outside". I though I
would make sense to fetch a single LaunchConfiguration, specify the output
or probably on that way somehow use the StreamsProxy, but the only entry
point (if any) seem to be the TabGroup or the Tabs itself, which feels
really wrong???
A separate extension point, which can be used within the UI/user plug-in
would be nice *fg* but there isn't something like that, right?

Actually for the moment I just want to start an internal accessible class
and tell the LaunchDelegate on some way to use the ConsolePlugin's
Outputstream.


Regards, Tom.
Previous Topic:Whither 3.3.2?
Next Topic:TableViewer refresh
Goto Forum:
  


Current Time: Thu Sep 18 17:22:59 EDT 2025

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

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

Back to the top