Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How soon after BundleActivator#start() can I print to the console?
How soon after BundleActivator#start() can I print to the console? [message #511271] Mon, 01 February 2010 03:00
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
I would like to print some information to the Console view which becomes
available in BundleActivator#start(). However, this makes by console
unusable because the scheduled
org.eclipse.ui.internal.console.IOConsolePartitioner.QueuePr ocessingJob
never runs, and in
org.eclipse.ui.internal.console.IOConsolePartitioner.streamA ppended(IOConsoleOutputStream,
String) my output is only appeneded to an ever-growing buffer in a
PendingPartition. I delayed the console output by using a BundleListener
that waits for BundleEvent.STARTED, but that didn't help.

So the question is how I can bring this information into my console. Is
there any event indicating the Console view is ready for me? Or is this
possibly a problem with the job scheduling in this context? I can schedule
other jobs in BundleActivator#start() without a problem.

Thanks, Felix
Previous Topic:Triggering further build
Next Topic:Project selected and expanded on creation
Goto Forum:
  


Current Time: Fri Apr 19 01:48:15 GMT 2024

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

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

Back to the top