Community
Participate
Working Groups
The Host OSGi console should have a close action/toolbar item similar to the Java stack trace console. The action should invoke the "disconnect" command.
Created attachment 168223 [details] patch Adds close button in the toolbar.
Please review, Curtis.
Patch works for me. Although I did find (and fix) a bug in the framework when testing this patch. bug312691.
Created attachment 168245 [details] udpated patch This patch incorporates a fix to bug 312697. Since the two patches will collide, I have combined them.
*** Bug 312697 has been marked as a duplicate of this bug. ***
Created attachment 168248 [details] updated patch in init() you should write the message before registering the console session to ensure the message is printed before the osgi> prompt.
(In reply to comment #6) > Created an attachment (id=168248) [details] > updated patch > in init() you should write the message before registering the console session > to ensure the message is printed before the osgi> prompt. Makes sense. I never saw it happen, but wondered...
+1 works great now, able to close/disconnect/etc from the console and open again later. I made one small change to close the input stream that writes out the warning message. Fixed in HEAD.