Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] TCF launch for multiple processes

Hi Konrad,

Obviously you could register a TCFLaunch.LaunchListener, which has the two relevant methods "onProcessOutput" and "onProcessStreamError", via "addListener(LaunchListener)".

However, looking at the (debug) TCFModel implementation (lines 905 - 951), it should do the console handling for you. Look at the "Console" view, you should get the output consoles there.

Eugene or Anton might be able to add the details.

Best regards, Uwe :)



> -----Original Message-----
> From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx] On
> Behalf Of Konrad Anheim
> Sent: Dienstag, 17. März 2015 16:26
> To: Tcf Dev
> Subject: [tcf-dev] TCF launch for multiple processes
> 
> Hi,
> 
> I'm am working on a TCF launcher that starts multiple processes on the agent.
> For that reason, implemented a class derived from TCFLaunch.java and
> overloaded the methods "runLaunchSequence" and "runShutdownSquency"
> among other methods for house-keeping.  That is working fine, however I
> cannot find a way to connect Stdio streams with a TCFconsole for each process.
> Some methods needed for that are declared as "private" such as "readStream"
> or "getListeners" and therefore not visible.
> 
> Am I on the wrong track here?
> 
> cheers,
> Conny
> _______________________________________________
> tcf-dev mailing list
> tcf-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit https://dev.eclipse.org/mailman/listinfo/tcf-dev


Back to the top