Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » P2 periodic check
P2 periodic check [message #1744070] Thu, 22 September 2016 03:50 Go to next message
Eclipse UserFriend
Hello,

P2 works fine in my application.
I check P2 at startup and the user can use the menu to update the product.

Is it possible to schedule a check for updates (without installation) every hour ?
I can use a timer but p2 needs a IProvisioningAgent.
How can get an instance of IProvisioningAgent ?

Jean-Pascal
Re: P2 periodic check [message #1744081 is a reply to message #1744070] Thu, 22 September 2016 05:18 Go to previous messageGo to next message
Eclipse UserFriend
The IProvisioningAgent is an OSGi service IIRC. So in E4 you can get it injected. Or use the "old-style-approach" of accessing the ServiceRegistry from within an Activator.
Re: P2 periodic check [message #1744194 is a reply to message #1744081] Fri, 23 September 2016 06:00 Go to previous message
Eclipse UserFriend
Thanks !

[Updated on: Fri, 23 September 2016 06:00] by Moderator

Previous Topic:multiple instances of an eclipse 4 application project
Next Topic:Plugin is unpacked even unpack is not set
Goto Forum:
  


Current Time: Fri Jul 04 09:51:11 EDT 2025

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

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

Back to the top