Skip to main content



      Home
Home » Eclipse Projects » P2 » New update is not detected even though it exists(Update detection in P2)
New update is not detected even though it exists [message #657411] Wed, 02 March 2011 12:31 Go to next message
Eclipse UserFriend
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: Wed, 02 March 2011 20:59] by Moderator

Re: New update is not detected even though it exists [message #658081 is a reply to message #657411] Sat, 05 March 2011 23:45 Go to previous message
Eclipse UserFriend
Found a solution in the following tutorial.

http://www.ralfebert.de/blog/eclipsercp/p2_updates_tutorial_ 36/

[Updated on: Sat, 05 March 2011 23:45] by Moderator

Previous Topic:p2 director behind a firewall / proxy does not work
Next Topic:Problems during first steps with p2.gathering=true
Goto Forum:
  


Current Time: Fri Jul 04 22:31:28 EDT 2025

Powered by FUDForum. Page generated in 1.07682 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top