PDE ignores p2.inf [message #537150] |
Tue, 01 June 2010 09:14  |
Eclipse User |
|
|
|
Hi,
since three days I'm trying to make our rcp client (3.5) p2 ready...
First I generated features for all plug-ins we created. Then I created an update site and changed the product to "feature-based".
The exported product is runnable. So far, so good.
Now I'm trying to add a headless update to the rcp client.
So I found this tutorial:
http://www.ralfebert.de/blog/eclipsercp/p2_updates_tutorial/
I downloaded and embedded the plug-in linked in the paragraph "Updating on application". After starting the client no progress monitor popped up. I debugged the "checkForUpdates" method and found out that
profileRegistry.getProfile(IProfileRegistry.SELF);
returns null.
So a profile-file is missing. (.\p2\org.eclipse.equinox.p2.engine\profileRegistry is empty)
After an internet research I found out, that I have to include a p2.inf file in the product's directory. But PDE ignores this file! No profile is generated when I export the product.
If I add syntax errors in this file, PDE doesn't bring an error. So it ignores this file completely!
What am I doing wrong?
Thanks in advance!
Roberto
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.23854 seconds