Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » headless update without restart
headless update without restart [message #1005192] Thu, 24 January 2013 15:58 Go to next message
Jan Weidauer is currently offline Jan WeidauerFriend
Messages: 49
Registered: July 2009
Member
Hi there,

in my application I use p2 for headless installation/update of plugins
at startup. My problem is that I do not want to restart the application
to take the changes effect. How can I achieve this? I thought of an
update of the extensionregistry or something like this but found nothing...

Regards,

Jan
Re: headless update without restart [message #1005199 is a reply to message #1005192] Thu, 24 January 2013 16:17 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
This can be achieved by invoking the applyConfiguration method providedd by the org.eclipse.equinox.internal.provisional.configurator.Configurator service
Re: headless update without restart [message #1005202 is a reply to message #1005199] Thu, 24 January 2013 16:20 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
@Pascal: Which plugin includes org.eclipse.equinox.internal.provisional.configurator.Configurator?
Re: headless update without restart [message #1005383 is a reply to message #1005199] Fri, 25 January 2013 08:13 Go to previous messageGo to next message
Jan Weidauer is currently offline Jan WeidauerFriend
Messages: 49
Registered: July 2009
Member
Thanks for the hint.
Trying this I saw no effect and so I debugged and found that the
simpleconfigurator needs a configurationURL and searches
"..configuration\org.eclipse.equinox.simpleconfigurator\bundles.info".
But this does not exist. What do I have to do?

Jan
Re: headless update without restart [message #1005384 is a reply to message #1005202] Fri, 25 January 2013 08:14 Go to previous messageGo to next message
Jan Weidauer is currently offline Jan WeidauerFriend
Messages: 49
Registered: July 2009
Member
It's located in the org.eclipse.equinox.simpleconfigurator plugin.
Re: headless update without restart [message #1005442 is a reply to message #1005383] Fri, 25 January 2013 13:14 Go to previous message
Jan Weidauer is currently offline Jan WeidauerFriend
Messages: 49
Registered: July 2009
Member
Ok, the start levels weren't set properly. Now all works well. :)
Previous Topic:Configure a p2 update repository programmatically [RESOLVED]
Next Topic:Eclipse XSL Developer Tools Install Problem
Goto Forum:
  


Current Time: Thu Apr 18 09:14:00 GMT 2024

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

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

Back to the top