Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
@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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Wed Jul 23 02:10:11 EDT 2025

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

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

Back to the top