Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:31 Go to next message
tk  is currently offline tk Friend
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

Re: New update is not detected even though it exists [message #658081 is a reply to message #657411] Sun, 06 March 2011 04:45 Go to previous message
tk  is currently offline tk Friend
Messages: 26
Registered: April 2010
Junior Member
Found a solution in the following tutorial.

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

[Updated on: Sun, 06 March 2011 04:45]

Report message to a 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: Wed Apr 24 23:59:57 GMT 2024

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

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

Back to the top