Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » RCP restart
RCP restart [message #1765522] Mon, 12 June 2017 01:30 Go to next message
Jeyhun MAMEDOV is currently offline Jeyhun MAMEDOVFriend
Messages: 21
Registered: March 2014
Junior Member
Hi,

Recently I have upgrade my project from Efxclipse 2.0.0 to 2.4.0 and somehow managed to break restart function.
I have tried:

Platform.setImplicitExit(true);
restartService.restart(true); // RestartService

wbn.restart(); // IWorkbench
wbn.close();

Platform.exit();

nothing works except for

System.exit(23);

which works only under Eclipse IDE

Thanks in advance.
Re: RCP restart [message #1765606 is a reply to message #1765522] Mon, 12 June 2017 18:19 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6365
Registered: July 2009
Senior Member
Please file a bug maybe we introduced a regression somewhere
Re: RCP restart [message #1765635 is a reply to message #1765606] Mon, 12 June 2017 22:58 Go to previous messageGo to next message
Jeyhun MAMEDOV is currently offline Jeyhun MAMEDOVFriend
Messages: 21
Registered: March 2014
Junior Member
Hi Thomas,

I will, but can you give me an example how properly restart efxclipse rcp application, my old code was

restartService.restart(false);
Platform.exit(); // without this line application did not restart

and now it does not restart at all!!
Re: RCP restart [message #1765729 is a reply to message #1765635] Tue, 13 June 2017 22:34 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6365
Registered: July 2009
Senior Member
The Platform.exit() call should not be needed
Previous Topic:Synchronizing FXML/Controller automatically (New feature)
Next Topic:Invalid Thread Access
Goto Forum:
  


Current Time: Fri Dec 15 14:19:00 GMT 2017

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

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