| 
 Thanks for the tip, Thomas. It works great. Wonder whether this is a hidden door or working by defect. 
 
Best Regards 
 
Samuel Wu 
 
 
 Thomas Hallgren ---05/05/2011 03:15:18 AM---Hi Samuel, The director will perform an update if you use options to both uninstall 
 
 
![]()  
From: | ![]()  
Thomas Hallgren <thomas@xxxxxxx> |  
![]()  
To: | ![]()  
p2-dev@xxxxxxxxxxx |  
![]()  
Date: | ![]()  
05/05/2011 03:15 AM |  
![]()  
Subject: | ![]()  
Re: [p2-dev] Can p2 director be used to update a installed feature? |  
![]()  
Sent by: | ![]()  
p2-dev-bounces@xxxxxxxxxxx |  
 
  
 
 
Hi Samuel, 
 
The director will perform an update if you use options to both uninstall and install the same feature, i.e. -u x.y.z -i x.y.z 
 
HTH, 
Thomas Hallgren 
 
On 2011-05-04 18:20, Samuel Wu wrote: 
Thank you, Sebastien.  
 
Best Regards 
 
Samuel Wu 
 
 
 "Angers, Sebastien" ---05/04/2011 12:12:12 PM---Bonjour Samuel, 
  
 
 
Bonjour Samuel, 
 
Interesting; we are trying to do the same thing. 
 
You should look/follow Bug 279659; there’s a patch that has been contributed (thanks to Katya Todorova for the contribution!) which is providing an updateIU option to the director application. (I’ve not tested it yet) 
 
The Bug also contains good discussions on this requirement. 
 
Regards, 
 
Sébastien
 
![]()  
 
Le contenu de ce courriel s'adresse au destinataire seulement. Il contient de l'information pouvant être confidentielle. Vous ne devez ni le copier ni l'utiliser ni le divulguer à qui que ce soit à moins que vous soyez le destinataire ou une personne désignée autorisée. Si vous le receviez par erreur, veuillez nous aviser immédiatement et le détruire.
 The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 
 
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Samuel Wu 
Sent: Wednesday, May 04, 2011 11:59 AM 
To: p2-dev@xxxxxxxxxxx 
Subject: [p2-dev] Can p2 director be used to update a installed feature?
 I have a feature com.abc.main.feaature 3.6.2.01 installed in Eclipse SDK 3.6.2. I'm trying to update it to 3.6.2.02 from the command line with the p2 director. 
 
eclipse.exe -application org.eclipse.equinox.p2.director -repository file:/D:/temp/eclipse-SDK-3.6.2/eclipse/workspace/Update/ -installIU com.abc.main.feaature.feature.group  
 
I got the error message in the configuration directory, saying that Cannot complete the install because of a conflicting dependency. Only one of the feature com.abc.main.feaature can be installed. Is there another application which can update the installed feature? 
 
Best Regards 
 
Samuel Wu 
IBM Canada, Toronto Lab 
samuelwu@xxxxxxxxxx 
Tel: 905-413-2373 
Fax: 905-413-4854 
 _______________________________________________ 
p2-dev mailing list 
p2-dev@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/p2-dev
  
 
_______________________________________________ 
p2-dev mailing list 
p2-dev@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/p2-dev 
  
 
_______________________________________________ 
p2-dev mailing list 
p2-dev@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/p2-dev 
 
 
 |