Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Shutdown Eclipse from linux command line
Shutdown Eclipse from linux command line [message #551213] Thu, 05 August 2010 11:50 Go to next message
Eclipse UserFriend
Is it possible to shutdown eclipse from the command line while ensuring that dirty editors are saved and the workspace is properly cleaned up? SIGTERM will shutdown Eclipse but I am not sure whether I get a clean shutdown that way.
Re: Shutdown Eclipse from linux command line [message #553136 is a reply to message #551213] Mon, 16 August 2010 10:34 Go to previous message
Eclipse UserFriend
Jonathan Gossage wrote:
> Is it possible to shutdown eclipse from the command line while ensuring
> that dirty editors are saved and the workspace is properly cleaned up?
> SIGTERM will shutdown Eclipse but I am not sure whether I get a clean
> shutdown that way.

By default, no. One way would be for you to add a plug-in to listen on
a port and call IWorkbench#shutdown().

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:Why objectContribution doesn't work?
Next Topic:How to contribute to someone else's action set?
Goto Forum:
  


Current Time: Sun Aug 31 13:32:11 EDT 2025

Powered by FUDForum. Page generated in 0.04441 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top