| P2 Update in E4 RCP Application [message #1000346] |
Mon, 14 January 2013 10:09  |
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
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01808 seconds