DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page How to add "Software Update" to RCP Help menu?
Notices
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2009
Unhappy How to add "Software Update" to RCP Help menu? - 03-03-2009, 02:32 PM

I have an RCP app which was originally developed in eclipse 3.2.1. I've compiled it in 3.4.1 now, and the Help > Software Updates menu item no longer appears!

What need I do to enable it again?
Reply With Quote
  (#2 (permalink)) Old
Moderator
 
Posts: 119
Thanks: 0
Thanked 10 Times in 9 Posts
Join Date: Jan 2008
Default 03-04-2009, 01:20 AM

You'll probably need to include some newer plugins. When you try to run this app from the Run... menu, have you validated plugins to make sure everything's there?

In 3.4 there was a move to P2 for the software updates, so it may have affected your feature.
James
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2009
Default 03-04-2009, 08:28 AM

Yes, I've re-validated several times, as well as started from nothing and added my plugins back one-by-one, pressing "add required plugins" each time. All to no avail. I've got all 5 org.eclipse.update.* plugins included, although I had to add o.e.update.scheduler manually.

A snippet from the "configuration details" log:
org.eclipse.ui.workbench (3.4.1.M20080827-0800a) "Workbench" [Active]
org.eclipse.update.configurator (3.2.201.R34x_v20080819) "Install/Update Configurator" [Active]
org.eclipse.update.core (3.2.201.R34x_v20080714) "Install/Update Core" [Active]
org.eclipse.update.core.win32 (3.2.100.v20080107) "Install/Update Core for Windows" [Resolved]
org.eclipse.update.scheduler (3.2.100.v20080404) "Automatic Updates Scheduler" [Active]
org.eclipse.update.ui (3.2.100.v20080318) "Install/Update UI" [Starting]


Note that o.e.update.ui state is [Starting]. I assume that is the cause of my problem? But why is it stuck in that state?
Reply With Quote
  (#4 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2009
Default 03-06-2009, 08:29 AM

Well, I had to do it myself (!@#). I don't know why I didn't with 3.2.1, but with 3.4.1 ...

Anyway, this is what I did:

In my application's plugin.xml, I added the following:

<!-- ================================================== ================ -->
<!-- Software Updates -->
<!-- ================================================== ================ -->

<extension point="org.eclipse.ui.actionSets">
<actionSet label="Software Update"
visible="true"
id="eft.software.update">
<action
id="eft.update"
label="Software Updates..."
class="org.eclipse.ui.internal.ide.update.InstallW izardAction"
menubarPath="help/additions"/>
</actionSet>
</extension>


Thanks, jsugrue, for trying to help. I appreciate it.
Reply With Quote
Reply

Tags
development, rcp, software update

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message after update: Missing repository attribue "url" MidnightJava Eclipse 5 05-11-2009 10:58 AM
RCP: menu extension an "open perspective" submenu Jorsch Eclipse 1 02-10-2009 04:18 AM
Eclipse CDT "An internal error occurred during: "Launching"" aluminumpork Eclipse 1 10-08-2008 04:48 AM
Error:"Cannot complete the request." while adding plugins using an update site. amit123solanki Eclipse 0 07-28-2008 07:33 AM
How to supress html validation errors in "target" folder thebugslayer Eclipse 0 02-27-2008 08:06 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com