- This topic has 11 replies, 3 voices, and was last updated 14 years, 11 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
July 13, 2010 at 1:51 am #309762
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.
July 13, 2010 at 4:46 am #309769
Ton HuismanMemberAnd also the default Windows key ‘Close Application’ <Alt-F4> should work.
July 13, 2010 at 5:21 am #309775
viswamy2kParticipantfine., Can i do the same java programmatically
July 13, 2010 at 6:06 am #309778
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?
July 13, 2010 at 6:11 am #309779
viswamy2kParticipantI want to close the IDE programmatically
July 13, 2010 at 6:25 am #309780
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
July 14, 2010 at 2:30 am #309804
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
July 14, 2010 at 4:45 am #309807
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
July 14, 2010 at 5:21 am #309808
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.July 15, 2010 at 4:13 am #309835
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.
July 15, 2010 at 5:19 am #309839
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