Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Product with updateable features
Product with updateable features [message #904395] Tue, 28 August 2012 07:19 Go to next message
Richard Meyer is currently offline Richard Meyer
Messages: 20
Registered: June 2012
Junior Member
I want to deliver updates to several features of my product. I have read the tutorial from Ralf Ebert.
In Ralfs tutorial the feature is installed after exporting the product. But I want to export the feature with my product. So I simply add the feature to my product configuration. After exporting the product the feature is already available but if I try to update this feature p2 cannot complete the install.
Cannot complete the install because of a conflicting dependency.
  Software being installed: Protection 1.0.1.201208281042 (com.example.mail.protection.feature.group 1.0.1.201208281042)
  Software currently installed: RCP Product 1.0.0.201208281052 (mail.product 1.0.0.201208281052)
  Only one of the following can be installed at once: 
    Spamfilter 1.0.0.201208281052 (com.example.mail.spamfilter 1.0.0.201208281052)
    Spamfilter 1.0.1.201208281042 (com.example.mail.spamfilter 1.0.1.201208281042)
  Cannot satisfy dependency:
    From: Core 1.0.0.201208281052 (com.example.mail.core.feature.group 1.0.0.201208281052)
    To: com.example.mail.spamfilter [1.0.0.201208281052]
  Cannot satisfy dependency:
    From: Protection 1.0.1.201208281042 (com.example.mail.protection.feature.group 1.0.1.201208281042)
    To: com.example.mail.spamfilter [1.0.1.201208281042]
  Cannot satisfy dependency:
    From: RCP Product 1.0.0.201208281052 (mail.product 1.0.0.201208281052)
    To: com.example.mail.core.feature.group [1.0.0.201208281052]

Any thoughts on where to look?

Thanks
Re: Product with updateable features [message #905145 is a reply to message #904395] Wed, 29 August 2012 15:44 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You have to at least 1) relax the range requirements from the product on each feature and 2) maybe take a p2 director step.

See http://aniefer.blogspot.ca/2009/07/composing-and-updating-custom-eclipse.html

PW


Re: Product with updateable features [message #905510 is a reply to message #904395] Thu, 30 August 2012 10:21 Go to previous message
Richard Meyer is currently offline Richard Meyer
Messages: 20
Registered: June 2012
Junior Member
That's it!

Thank you very much.
Previous Topic:CTabFolder using GridLayout
Next Topic:RCP - Debugging which plugin is missing from target platform
Goto Forum:
  


Current Time: Thu Aug 28 05:29:29 EDT 2014

Powered by FUDForum. Page generated in 0.02437 seconds