My RCP does not detect updates from my update site [message #1776516] |
Fri, 17 November 2017 08:35 |
Jim 20100 Messages: 69 Registered: June 2016 |
Member |
|
|
I try to publish an update site, and my eclipse RCP does not detects the update of my features.
When I click on check for updates: No update found
When I tried to install a new features: I can select my 1.0.1 version of my plugin, but after the next it says:
Your original request has been modified.
"Sales - Quoting - Data" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
I changed the version of my features to 1.0.1 and my plugin inside the feature to 1.0.1
What is wrong?
Another question: in my update site project, I don't understand the site.xml actions?
When I click to rebuild all, it does not delete all previous features etc.
When I click to synchronize, I don't know what is going on, I could guess that it would find new version of features or something like that but nothing is changed?
What are all the files generated: content.jar, artifacts.jar, etc. ?
As I did not understand I deleted all files and redo again my site.xml, otherwise in my RCP I can see a mix between previous features and new features.
That is a bit the mess for the moment.
|
|
|
Re: My RCP does not detect updates from my update site [message #1776742 is a reply to message #1776516] |
Tue, 21 November 2017 04:28 |
Eclipse User |
|
|
|
Update sites are long deprecated in favour of p2. The content.jar and artifacts.jar files are generated by p2 to turn your update site into a p2 repository.
p2 assumes that a bundle or feature with the same ID and version are identical. For p2 to realize you have a new bundle or feature, you need to increment your version number. See the p2 FAQ.
|
|
|
|
Re: My RCP does not detect updates from my update site [message #1776888 is a reply to message #1776854] |
Wed, 22 November 2017 14:24 |
Eclipse User |
|
|
|
It's hard to diagnose anything without any real snippets. I'd suggest appending a ".qualifier" to your feature and plugin versions: it will be replaced with a timestamp which will help ensure your artifacts are different between builds.
It sounds like you're using the built-in product export? I'd first convert your build to use Tycho. PDE's export unfortunately makes build problems notoriously hard to diagnose.
And look at the Eclipse Packaging Project (EPP) products for working examples.
The installRoot="true" seems the right thing to do. My guess is that some of your features pull in each other? Remember a feature pulls in exact versions of plugins and features specified in the Included Plug-ins and Included Features tabs, which means that the feature can only be updated with their other features. If you want to have relaxed versions, specify them using the Included Dependencies tab which allows for version ranges.
|
|
|
Powered by
FUDForum. Page generated in 0.03223 seconds