Filtering (debug) console output [message #328754] |
Tue, 03 June 2008 13:37 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02516 seconds