Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Filtering (debug) console output
Filtering (debug) console output [message #328754] Tue, 03 June 2008 13:37
Eclipse UserFriend
Originally posted by: j4r0d.hotmail.com

Hello,

I have created a plugin which can run some java applications (using the run
menu, through ILaunchConfigurationDelegate). An IConsole is created
automatically when I call the method:

IProcess p = DebugPlugin.newProcess(launch, process, "test");

Everything is working fine, but now I would like to filter the content of
this console because the output log contains informations regarding the
color of the text. I want to strip those informations.
I have found the IConsoleLineTracker interface so I can keep an eye on what
is appended to the console's document. This is fine, but I don't think this
interface allows me to filter what is going in the console document (correct
me if I am wrong). So here is my question; how can I filter the console
output?

Btw, if you can point me to any tutorial related to this topic I'd be really
happy.

Thanks in advance,

J.
Previous Topic:problem with eclipse ctrl - c (system clipboard stops to work)
Next Topic:Show workspace selection dialog doesn't work on exported product since RC1
Goto Forum:
  


Current Time: Wed Apr 16 01:06:33 EDT 2025

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

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

Back to the top