- This topic has 11 replies, 3 voices, and was last updated 14 years, 4 months ago by Ton Huisman.
-
AuthorPosts
-
viswamy2kParticipantHi,
My eclipse workbecnh is opened and i want to exit from this using the command line.,
Could you please let me know how cn i do this.,
thanks in advance
support-joyMemberviswamy2k,
I am afraid, I do not know any way to exit the eclipse / myeclipse workbench from command line. You need to do that from the IDE. You can use the shortcut key – [Alt] + F + X or using menu option – File > Exit.
Ton HuismanMemberAnd also the default Windows key ‘Close Application’ <Alt-F4> should work.
viswamy2kParticipantfine., Can i do the same java programmatically
support-joyMemberviswamy2k,
fine., Can i do the same java programmatically
I am not sure I understand this. Do you want to close the IDE programmatically? Or are you referring to any window which you can open using any web browser?
viswamy2kParticipantI want to close the IDE programmatically
support-joyMemberI have not tried this. You can take a look at these weblinks – http://forums.dzone.com/eclipse/491-hiding-editor-programmatically-eclipse-rcp.html and http://wiki.eclipse.org/FAQ_How_do_I_open_an_editor_programmatically%3F
viswamy2kParticipantThanks, i went through the links and im not able to make the code piece to close the eclipse workbench.,
If you can help with code piece it will be helpful for me
Ton HuismanMemberIt’s not clear to me why you would want to close the IDE (another application) from your application, can you give a usage example? Or are you writing a plug-in?, then it’s in the ‘how to write a plug-in’ documentation on eclipse.org.
TIA
viswamy2kParticipantActually im doing the plugin installation using the dropins folder,so after that i have to start the IDE and close it.
In this scenario im able to open the IDE using the command line utility so now i want just exit/close this opened IDE.
support-joyMemberviswamy2k,
Using command line you cannot exit MyEclipse IDE. I do not have the required know-how to close MyEclipse IDE from another program. I would request you to search other relevant forums.
Ton HuismanMemberIMHO the proper solution would be to _tell_ (displaying a mesagebox?) the user that the IDE needs to be closed & reopened to activate the plugin.
A few relevant statements:
“I’m a developer, don’t mess with my running applications!”,
and
“If you’re stupid enough to ignore proper directions, it’s your own fault if it doesn’t work.”HTH
-
AuthorPosts