Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » EXIT_RELAUNCH and eclipse.exitdata
EXIT_RELAUNCH and eclipse.exitdata [message #330942] Mon, 18 August 2008 20:39 Go to next message
Eclipse UserFriend
Originally posted by: pawolf.us.ibm.com

I posted this question on eclipse.rcp, but maybe that was the wrong
place to ask, so I thought I'd ask here instead.

I am creating an RCP application. In my start() method of my class that
implements IApplication, I return EXIT_RELAUNCH, and my application
restarts just fine. However, I'm trying to figure out the correct
format of the command line that needs to be set in eclipse.exitdata so I
restart my application specifying different parameters. Is there any
documentation that describes this in more detail than what is in the
IApplication class, or can someone point me at an example? Thank you.

Paul
Re: EXIT_RELAUNCH and eclipse.exitdata [message #330952 is a reply to message #330942] Tue, 19 August 2008 13:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pawolf.us.ibm.com

Paul A Wolf wrote:
I found an answer to my question in the source for class
org.eclipse.ui.internal.ide.actions.OpenWorkspaceAction.

Paul
Re: EXIT_RELAUNCH and eclipse.exitdata [message #708828 is a reply to message #330952] Wed, 03 August 2011 07:52 Go to previous message
Kris Slowinski is currently offline Kris SlowinskiFriend
Messages: 18
Registered: August 2011
Junior Member
I just got to work relaunching the application with a different set of parameters as done in eclipse.ui.internal.ide.actions.OpenWorkspaceAction, and I have a general question about this mechanism. Is it possible to perform the relaunch when launching the application within Eclipse? Currently my application just terminates when run from Eclipse and it works only when exported and run outside of Eclipse. It would be really nice for development.

Kris
Previous Topic:Controlling handler enablement based on multiple criteria
Next Topic:Extending text editors with non-text dropsupport
Goto Forum:
  


Current Time: Thu Apr 25 12:49:18 GMT 2024

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

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

Back to the top