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



|------------>
| From:      |
|------------>
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
  |Ian Bull <[email protected]>                                          
                                                                |
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
  |P2 developer discussions <[email protected]>                                
                                                                |
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
  |07/29/2010 02:23 PM                                                          
                                                                |
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [p2-dev] How to update a component feature of a product build?           
                                                                |
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                   
                                                                |
  
>---------------------------------------------------------------------------------------------------------------------------------------------|





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 <[email protected]> wrote:
  Hello there,
  I have a product build which contains three features and I need to update
  one of the features. When I tried to update the current one
  3.6.0.201007281811 with the new one 3.6.0.201007290954, I got the
  following error message.

  Your original request has been modified.
  "TPF Toolkit Install Handler" is already installed, so an update will be
  performed instead.
  Cannot complete the install because of a conflicting dependency.
  Software being installed: TPF Toolkit Install Handler 3.6.0.201007290954
  (com.ibm.tpf.installHandler.feature.group 3.6.0.201007290954)
  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:
  TPF Toolkit Install Handler 3.6.0.201007281811
  (com.ibm.tpf.installHandler.feature.jar 3.6.0.201007281811)
  TPF Toolkit Install Handler 3.6.0.201007290954
  (com.ibm.tpf.installHandler.feature.jar 3.6.0.201007290954)
  Cannot satisfy dependency:
  From: TPF Toolkit Install Handler 3.6.0.201007281811
  (com.ibm.tpf.installHandler.feature.group 3.6.0.201007281811)
  To: com.ibm.tpf.installHandler.feature.jar [3.6.0.201007281811]
  Cannot satisfy dependency:
  From: TPF Toolkit Install Handler 3.6.0.201007290954
  (com.ibm.tpf.installHandler.feature.group 3.6.0.201007290954)
  To: com.ibm.tpf.installHandler.feature.jar [3.6.0.201007290954]
  Cannot satisfy dependency:
  From: IBM TPF Toolkit 3.6.0.v201006271507 (com.ibm.tpf.toolkit.product
  3.6.0.v201006271507)
  To: com.ibm.tpf.installHandler.feature.group [3.6.0.201007281811]

  Can you please advise how to update a included feature in the product?
  Thanks in advance.

  Best Regards

  Samuel Wu,

  _______________________________________________
  p2-dev mailing list
  [email protected]
  https://dev.eclipse.org/mailman/listinfo/p2-dev




--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com. | http://twitter.com/eclipsesource
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to