eclipse plugin - Attach console to LaunchConfiguration -


i'm writing plugin implements ilaunchconfigurationdelegate.

i have override method: launch(ilaunchconfiguration configuration, string mode, ilaunch launch, iprogressmonitor monitor);

can attach textconsole ones in javaapplication launch type when writing system.out.println()?

i have in order launch has same lifecycle management console.

essentially ilaunchconfiguration type container holds possible other ilaunchconfiguration types. when launching launch container want log behaviour of others start in sequence. logging ideal in textconsole. example: 'hello world started.' 'hello world terminated', 'pi approximator started' ... etc.

afaik, there no steps necessary redirect std in/out eclipse console. common tab of every launch configuration type has allocate console option provides feature if enabled.

enter image description here

if launch configuration type not provide commontab, can set idebuguiconstants.attr_capture_in_console attribute of ilaunchconfiguration true.

for container launch, can allocate textconsole write log messages to. debug/launch framework attaches consoles iprocess instances , won't here may want processconsole , processconsolemanager adopt relevant part opening , discarding console.

alternatively, investigate if setting attr_capture_in_console of container launch true , creating dummy iprocess satisfies requirements of processconsolemanager wrt consoles.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -