Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] console output in PTP

hi, folks -

As part of getting start with PTP and per Greg's suggestion, I am working on a feature to allow stdout from executing process to be displayed on console window - on a per job basis, as you would normally expect when printf() is called. This is a 2.0 TODO item as I understand. It is complementary to what we have now (click on each process to view its output) in the sense that it combines and displays console output on the fly as processes run.

Implementation overview: Eclipse application (runtime workbench) do not display System.out messages by default. You much create your own console to make this happen. The new console, PConsole, in addition to creating an managing console views, also implements IJobProcessListener interface, and handle IJobChangedProcessEvent. When new job is created in AbstractResourceManager, a new console will be created as well, and add itself as child listener. That is basically the gist of it. Depending on the need, I may expand this to stderr/stdin in the future.

I'd appreciate your comments and suggestions, as well as instructions on how to make the change set available for community review and test.

Best regards,

Feiyi












Back to the top