RCP P2 Update results in broken product after update [message #847623] |
Tue, 17 April 2012 13:44 |
Timotei Mising name Messages: 89 Registered: March 2010 |
Member |
|
|
Hello.
I have the following scenario:
1) RCP Product application (just for the record it uses the classic Eclipse IDE interface. I copied the "WorkbenchActionBuilder" from org.eclipse.ui.internal.ide to my product, so it will have all the save/open/etc buttons in place, just like in the "normal" eclipse IDE)
2) P2 updating mechanism setup in place.
Now I do the following steps:
1) I change the version for all plugins/features and the product that make up the product(e.g.: 2.0.0.qualifier in 2.0.1.qualifier).
2) I open the 2.0.0 product, press "Check for Updates...".
3) It finds the product update, and continue until it finishes successfully the update, and asks me to restart the IDE.
4)I press restart, it shows a bit of the loading screen and then stops. The .log file now reads: http://pastebin.com/cmf652gg
More exactly, an "org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object" exception.
I've tried investigating, to see where the "handles for configuration" are saved (At least that's what I understood about that exception), tried using my own actionbar builder (not the eclipse internal one), but in vain.
If it helps, the plugin is available open source here: http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/ while the PRODUCT classes are here: http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/product/
Maybe I forgot to add something? Or I added something without needing?
Thanks a lot.
|
|
|
Re: RCP P2 Update results in broken product after update [message #847808 is a reply to message #847623] |
Tue, 17 April 2012 17:12 |
Wim Jongman Messages: 423 Registered: July 2009 |
Senior Member |
|
|
Hi Timotei,
How are your features organized?
Regards,
Wim
> Hello.
>
> I have the following scenario:
> 1) RCP Product application (just for the record it uses the classic Eclipse
IDE interface. I copied the "WorkbenchActionBuilder" from
org.eclipse.ui.internal.ide to my product, so it will have all the
save/open/etc buttons in place, just like in the "normal" eclipse IDE)
> 2) P2 updating mechanism setup in place.
>
> Now I do the following steps:
> 1) I change the version for all plugins/features and the product that make
up the product(e.g.: 2.0.0.qualifier in 2.0.1.qualifier).
> 2) I open the 2.0.0 product, press "Check for Updates...".
> 3) It finds the product update, and continue until it finishes successfully
the update, and asks me to restart the IDE.
> 4)I press restart, it shows a bit of the loading screen and then stops. The
log file now reads: http://pastebin.com/cmf652gg
>
> More exactly, an "org.eclipse.core.runtime.InvalidRegistryObjectException:
Invalid registry object" exception.
>
> I've tried investigating, to see where the "handles for configuration" are
saved (At least that's what I understood about that exception), tried using
my own actionbar builder (not the eclipse internal one), but in vain.
>
> If it helps, the plugin is available open source here:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/ while the PRODUCT
classes are here:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/product/
>
> Maybe I forgot to add something? Or I added something without needing?
>
> Thanks a lot.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03324 seconds