New update is not detected even though it exists [message #657411] |
Wed, 02 March 2011 17:31 |
tk Messages: 26 Registered: April 2010 |
Junior Member |
|
|
I have downloaded org.eclipse.equinox.p2.rcp.sdkui to try it out. But new updates are not recognized when I run the sample app.
Here are the steps that I took.
1. Changed P2.inf to point to my local file system
instructions.configure=\
addRepository(type:0,location:file${#58}///C:/PluginProject/ rcp.sdkui.updatesite);\
addRepository(type:1,location:http${#58}///C:/PluginProject/ rcp.sdkui.updatesite);
2. I exported the product using 'Eclipse Product export wizard'
3. Built a feature from the plugin, where I provided updatesite url as follows
file:/C:/PluginProject/rcp.sdkui.updatesite
4. Built an update site from the feature above
5. I build update site again, which incremented qualifier number in jar file so that I can test update site
6. Ran the RCP sample app and click 'Check for updates' in the menu. Then I got
'No updates were found' message'
7. Then click 'Install new software' in the menu and got the following after selecting the category/feature in the dialog and pressing next button:
Cannot complete the install because of a conflicting dependency.
Software being installed: Feature 1.0.0.201103021151 (rcp.sdkui.feature.feature.group 1.0.0.201103021151)
Software currently installed: RCP Mail Example (with p2 SDK UI) 1.0.0.201103021153 (org.eclipse.equinox.p2.examples.rcp.sdkui.product 1.0.0.201103021153)
Only one of the following can be installed at once:
RCP Mail (SDK UI) 1.0.0.201103021151 (org.eclipse.equinox.p2.examples.rcp.sdkui 1.0.0.201103021151)
RCP Mail (SDK UI) 1.0.0.201103021153 (org.eclipse.equinox.p2.examples.rcp.sdkui 1.0.0.201103021153)
Cannot satisfy dependency:
From: RCP Mail Example (with p2 SDK UI) 1.0.0.201103021153 (org.eclipse.equinox.p2.examples.rcp.sdkui.product 1.0.0.201103021153)
To: org.eclipse.equinox.p2.examples.rcp.sdkui [1.0.0.201103021153]
Cannot satisfy dependency:
From: Feature 1.0.0.201103021151 (rcp.sdkui.feature.feature.group 1.0.0.201103021151)
To: org.eclipse.equinox.p2.examples.rcp.sdkui [1.0.0.201103021151]
Why isn't the new update detected? Why do I get the error message above?
Thanks.
[Updated on: Thu, 03 March 2011 01:59] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03404 seconds