Helios RPC problem with p2 self-update [message #552968] |
Sun, 15 August 2010 12:01 |
Jason Messages: 2 Registered: August 2010 |
Junior Member |
|
|
Hi,
I'm new to RPC, and just finished some tutorials, turned to self-update feature concept. To learn it, I picked up this tutorial:
http://swtxml.com/blog/eclipsercp/p2_updates_tutorial/
Up to the 10th step, everything is ok. I exported the application as of th 10th step and run with no problem.
Next I added the "org.eclipse.equinox.p2.user.ui" to my included features as instructed. I've got the following error. Also, no menu item is added in the help menu for update checking and new software install.
If I export the application after adding p2.ui I get this error and exporting fails:
http://www.imagehousing.com/image/529248
For around 2 days I added various boundles to solve this, but no results. I searched forums and googled and found people with the same problem, but failed to find any solution.
Please kindly guide me out of it.
Error Messages:
!SESSION 2010-08-15 14:45:14.270 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.example.mail.product
Command-line arguments: -product com.example.mail.product -data C:\zworkspace/../runtime-mail.product -dev file:C:/zworkspace/.metadata/.plugins/org.eclipse.pde.core/mail.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
!ENTRY org.eclipse.osgi 2 0 2010-08-15 14:45:20.036
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-15 14:45:20.036
!MESSAGE Bundle reference:file:/C:/zworkspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.ui.sdk_1.0.100.v20100513.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2010-08-15 14:45:20.036
!MESSAGE Missing required bundle org.eclipse.compare_0.0.0.
!ENTRY org.eclipse.osgi 2 0 2010-08-15 14:45:20.036
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-15 14:45:20.036
!MESSAGE Bundle org.eclipse.equinox.p2.ui.sdk_1.0.100.v20100513 [125] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2010-08-15 14:45:20.036
!MESSAGE Missing required bundle org.eclipse.compare_0.0.0.
|
|
|
|
|
|
|
|
Re: Helios RPC problem with p2 self-update [message #557657 is a reply to message #557645] |
Wed, 08 September 2010 12:59 |
Jack Mising name Messages: 18 Registered: August 2010 |
Junior Member |
|
|
Thanks for the response. You have it exactly right.
The problem was tracked down to the fact that org.eclipse.equinox.p2.user.ui depends on org.eclipse.equinox.p2.ui.sdk which in turn depends on org.eclipse.compare which pulls in a lot of the IDE UI.
The compare dependency is to deal with the ability to roll-back to a previous configuration / installed plug-in set.
I can't find where it was mentioned, but apparently there are plans for a simplified package for a future release that will do p2 updates in the light-weight 'drop-in' fashion that is implied by the various tutorials about the subject.
As it is, my project is just for an internal group of bright peeps who can handle a bit of UI cruft, so it doesn't really cause us a problem now that I know what is going on.
[Updated on: Wed, 08 September 2010 12:59] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06705 seconds