Upgrading product fails? [message #495850] |
Fri, 06 November 2009 12:01 |
Torbjørn G. Dahle Messages: 20 Registered: July 2009 |
Junior Member |
|
|
I've got a feature-based product that depends on two eclipse features (RCP and P2), and one of my own features. Since it seems I have to depend on a specific version of that feature, it depends on version 1.0.0, let's say. I export this product using Export->Eclipse product, and generate a metadata repository. This results in a functioning version of my product getting exported.
Now, I make a change in a plugin, and update the plugin version. Then I upgrade my feature to 1.0.1. Now my product is no longer valid, since it was referring to 1.0,0, so I change it to 1.0.1. Since I only want to create an update site this time, I use Export->Deployable features, select my feature and export it to a different location. This results in what looks like a good update site.
However, when I run the exported application and point it at the update site, and select Check for Updates, it says there are none. If I select Install new software and open the update site, it finds the updated feature (1.0.1) but with a "cycle" icon next to it (which I guess means update?). If I try to install it, though, I get the following error:
Your original request has been modified.
"My Feature" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: My Feature 1.0.1 (com.test.feature.group 1.0.1)
Software currently installed: My Product 1.11.0 (com.test.product 1.11.0)
Only one of the following can be installed at once:
My Feature 1.0.1 (com.test.feature.jar 1.0.1)
My Feature 1.11.0 (com.test.feature.jar 1.11.0)
Cannot satisfy dependency:
From: My Feature 1.11.0 (com.test.feature.group 1.11.0)
To: com.test.feature.jar [1.11.0]
Cannot satisfy dependency:
From: My Feature 1.0.1 (com.test.feature.group 1.0.1)
To: com.test.feature.jar [1.0.1]
Cannot satisfy dependency:
From: My Product 1.11.0 (com.test.product 1.11.0)
To: com.test.feature.group [1.11.0]
I assume I'm doing something wrong, although I'm not sure where to look. Am I correct assuming that I should be able to upgrade my exported product from this update site? Could there be something wrong in my dependency setup? Is this even the right forum?
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.03130 seconds