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,

What do you mean by "TCFLaunch.terminate() is interfering with TCFLaunch.closeCannel()"?

Regards,
Eugene

-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Konrad Anheim
Sent: Friday, March 20, 2015 8:59 AM
To: tcf-dev@xxxxxxxxxxx
Subject: Re: [tcf-dev] TCF launch for multiple processes

Hi Eugene,

The new context_filter handling LGTM.
However, I now see an issue with the terminate function, Eclipse shows
an TCF task abort message. It seems to me that code in
TCFLaunch.terminate() is interfering with TCFLaunch.closeCannel(). Would
you please check?

Cheers,
Conny

Am 2015-03-19 21:59, schrieb Eugene Tarassov:
> Hi Konrad,
>
> I have made changes in how context_filter is handled - something I
> wanted to do anyway.
> Now TCFLaunch.onAttach should not throw an null pointer exception.
>
> Regards,
> Eugene
>
> -----Original Message-----
> From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Konrad Anheim
> Sent: Wednesday, March 18, 2015 5:52 AM
> To: tcf-dev@xxxxxxxxxxx
> Subject: 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
> _______________________________________________
> 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
_______________________________________________
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.


Back to the top