[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How to update a component feature of a product build?

Thank you, Ian, for the response. Now my question is how to build the update for the product.
During the product build, there are twi repositories generated, one is a zip file in "${buildDirectory}\${buildLabel},another is in buildRepo. The zip file is a product image and can't be use as an update site. The buildRepo looks like an update site but I failed to update from it as well. When I chose it as the site for the software repository, the only available feature is com.ibm.tpf.toolkit.product.root.feature.feature.group and I got the following error message when tried to install it.

Your original request has been modified.
"com.ibm.tpf.toolkit.product.root.feature.feature.group" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: com.ibm.tpf.toolkit.product.root.feature.feature.group 3.6.0.201007290911
Software currently installed: IBM TPF Toolkit 3.6.0.v201006271507 (com.ibm.tpf.toolkit.product 3.6.0.v201006271507)
Only one of the following can be installed at once:
com.ibm.tpf.toolkit.product.root.feature_root 3.6.0.201007290503
com.ibm.tpf.toolkit.product.root.feature_root 3.6.0.201007290911
Cannot satisfy dependency:
From: IBM TPF Toolkit 3.6.0.v201006271507 (com.ibm.tpf.toolkit.product 3.6.0.v201006271507)
To: com.ibm.tpf.toolkit.product.root.feature.feature.group [3.6.0.201007290503]
Cannot satisfy dependency:
From: com.ibm.tpf.toolkit.product.root.feature.feature.group 3.6.0.201007290503
To: com.ibm.tpf.toolkit.product.root.feature_root [3.6.0.201007290503]
Cannot satisfy dependency:
From: com.ibm.tpf.toolkit.product.root.feature.feature.group 3.6.0.201007290911
To: com.ibm.tpf.toolkit.product.root.feature_root [3.6.0.201007290911]

Can you please advise how to create the product IU?

Best Regards

Samuel Wu


Inactive hide details for Ian Bull ---07/29/2010 02:23:27 PM---IIRC a product specifies an exact version for its features.  So Ian Bull ---07/29/2010 02:23:27 PM---IIRC a product specifies an exact version for its features. So in your case product XYZ requires fe


From:

Ian Bull <irbull@xxxxxxxxxxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

07/29/2010 02:23 PM

Subject:

Re: [p2-dev] How to update a component feature of a product build?

Sent by:

p2-dev-bounces@xxxxxxxxxxx




IIRC a product specifies an exact version for its features.  So in your case product XYZ requires feature A, B, and C (version 1.0 of each).  You cannot upgrade a single feature because the existing product depends on old version of that feature.

You need to create a new product IU with a requirement on feature A (2.0), B(1.0), and C(1.0) -- if you upgrading A in this case.  Then you upgrade the product.

HTH.

Cheers,
ian

On Thu, Jul 29, 2010 at 7:18 AM, Samuel Wu <samuelwu@xxxxxxxxxx> wrote:


--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484

http://eclipsesource.com | http://twitter.com/eclipsesource_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


GIF image

GIF image