[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tcf-dev] TCF launch for multiple processes
|
Hi Eugene,
TCFLaunch.onAttach looks good to me. However when calling onAttach from
"runLaunchSequence" the context_filter member variable is not (yet)
initialized throwing an null pointer exception. Did I miss something
here?
Cheers,
Conny
Am 2015-03-17 22:30, schrieb Eugene Tarassov:
Hi Konrad,
I've added new public method TCFLaunch.onAttach.
Now it should be possible to add processes and process consoles by
calling this method.
HTH.
Regards,
Eugene
-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx]
On Behalf Of Konrad Anheim
Sent: Tuesday, March 17, 2015 9:50 AM
To: tcf-dev@xxxxxxxxxxx
Subject: Re: [tcf-dev] TCF launch for multiple processes
Hi Uwe,
I would need to fire events like "onProcessOutput" instead of
listening.
This would call into TCFModelManager (registered as listener to
TCFLaunch) -> TCFModel ->TCFConsole.
cheers,
Conny
Am 2015-03-17 16:51, schrieb Stieber, Uwe:
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
_______________________________________________
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
_______________________________________________
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
This email and any attachments are intended for the sole use of the
named recipient(s) and contain(s) confidential information that may be
proprietary, privileged or copyrighted under applicable law. If you
are not the intended recipient, do not read, copy, or forward this
email message or any attachments. Delete this email message and any
attachments immediately.
_______________________________________________
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