Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Headless self-update issue(P2Util does not work)
Headless self-update issue [message #654763] Thu, 17 February 2011 02:04 Go to next message
tk  is currently offline tk Friend
Messages: 26
Registered: April 2010
Junior Member
I am trying to use P2Util in my plugin app for self update.

public class P2Util {
static IStatus checkForUpdates(IProvisioningAgent agent, IProgressMonitor monitor) throws OperationCanceledException {
...
ProvisioningJob job = operation.getProvisioningJob(null);
status = job.runModal(sub.newChild(100));



operation.getProvisioningJob(null) returns null. Why?
Re: Headless self-update issue [message #657721 is a reply to message #654763] Thu, 03 March 2011 17:32 Go to previous message
tk  is currently offline tk Friend
Messages: 26
Registered: April 2010
Junior Member
RESOLVED

http://www.ralfebert.de/blog/eclipsercp/p2_updates_tutorial_36/

[Updated on: Sun, 06 March 2011 04:46]

Report message to a moderator

Previous Topic:Using OSGI DS in an Eclipse 3.6 bundle.
Next Topic:Building custom installer with p2
Goto Forum:
  


Current Time: Fri Apr 26 18:22:32 GMT 2024

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

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

Back to the top