Conflicting Dependency while updating RCP app using p2 [message #1691866] |
Fri, 10 April 2015 08:42 |
rajat upadhyay Messages: 6 Registered: April 2015 |
Junior Member |
|
|
I am new to RCP developement
I read all your post across to make a RCP product application. Again i am trying various solutions(including yours) from last 15 days to resolve the conflicting dependency problem.
I have
a) One ProductA based on feature (Which is a RCP Application)
b) Then I have 4 plugins i.e.. pluginA,PluginB,PluginC,PluginD (All singlton - Required)
c) PluginC depends on PluginD (No version selected)
d) PluginA depends on pluginB,PluginC,PluginD (No version selected)
e) I made seperate feature for all plugin i.e.. FeatureA,FeatureB,FeatureC,FeatureD (Each feature packged with one plugin+dependent plugin- version set to 0.0.0)
g) ProductA has feature dependency on all four feature created at step (d).(version removed from properties)
h) All product/plugins/feature versions are set initially to 1.0.0
i) Exported the productA
h) create a update site with featureA/B/C/D
i) From the RCP application when i update 1st time it says : Already Install add to Installed list >> and then restart
j) Then I change version of all plugins/feature(A/B/C/D) to 1.0.1 and add updated features(A/B/C/D) to update site.
e) Now,When I update i get
Cannot complete the install because of a conflicting dependency.
Software being installed: featureC 1.0.1 (featureC.feature.group 1.0.1)
Software currently installed: PluginA 1.0.0 (productA 1.0.0)
Only one of the following can be installed at once:
PluginC 1.0.0 (PluginC 1.0.0)
PluginC 1.0.1 (PluginC 1.0.1)
Cannot satisfy dependency:
From: featureC 1.0.1 (featureC.feature.group 1.0.1)
To: PluginC [1.0.1]
Cannot satisfy dependency:
From: featureA 1.0.0 (featureA.feature.group 1.0.0)
To: PluginC [1.0.0]
Cannot satisfy dependency:
From: PluginA 1.0.0 (productA 1.0.0)
To: featureA.feature.group [1.0.0]
Please Help. Thanks in advance
[Updated on: Wed, 15 April 2015 13:37] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03211 seconds