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 10:58 Go to next message
Jan Weidauer is currently offline Jan Weidauer
Messages: 47
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 11:17 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal Rapicault
Messages: 282
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 11:20 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph Keimel
Messages: 297
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 03:13 Go to previous messageGo to next message
Jan Weidauer is currently offline Jan Weidauer
Messages: 47
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 03:14 Go to previous messageGo to next message
Jan Weidauer is currently offline Jan Weidauer
Messages: 47
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 08:14 Go to previous message
Jan Weidauer is currently offline Jan Weidauer
Messages: 47
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: Mon Apr 21 03:06:30 EDT 2014

Powered by FUDForum. Page generated in 0.13153 seconds