Hi Ali, In 3.6 (Helios) we have added the ability to create a console session. (see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=279562 for details). Your bundle can implement the org.eclipse.osgi.framework.console.ConsoleSession service to provide input and output streams for the console. There are a couple of examples (telnet and UI examples) attached to the bug report that show how it can be used.
Hope that helps. Tom |------------> | From: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Ali Naddaf <[email protected]> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Equinox development mailing list <[email protected]> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |12/28/2009 01:53 PM | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |[equinox-dev] Accessing Equinox Shell From a Bundle | >--------------------------------------------------------------------------------------------------------------------------------------------------| Hello everyone. I want to write a "remote shell" bundle to facilitate remote access to a running Equinox framework via, say, a telnet mechanism. To avoid duplicating the currently existing commands in the Equinox shell, I was wondering if there is a way to access/execute the existing Equinox shell commands from my bundle. Many thanks Ali _______________________________________________ equinox-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/equinox-dev
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
_______________________________________________ equinox-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/equinox-dev
