Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » P2 Update in E4 RCP Application
P2 Update in E4 RCP Application [message #1000346] Mon, 14 January 2013 10:09 Go to previous message
Christoph Keimel is currently offline Christoph Keimel
Messages: 277
Registered: December 2010
Location: Germany
Senior Member
Hello

I am trying to implement a P2 Update in an E4 RCP application. I've been reading the documentation in http://help.eclipse.org/juno/index.jsp and this tutorial
http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_RCP_Application but I am unable to get it working.

I have succeded in initializing the repositories, but the UpdateOperation still fails with a NPE because the UpdateOperation can not create the ProvisioningJob. The problem, as it seems to me, is that there is no IProfile in the IProfileRegistry.

Also, profileRegistry.getProfile(IProfileRegistry.SELF) returns NULL.

I have been unable to find documentation on how to initialize the SELF profile.

Any help or pointer is very welcome.

Greetings
Christoph

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:create category for site?
Next Topic:Configure a p2 update repository programmatically [RESOLVED]
Goto Forum:
  


Current Time: Sun May 19 04:36:02 EDT 2013

Powered by FUDForum. Page generated in 0.06338 seconds