We came across the same issue some time ago and we found a way to make this 
uses case working.



In the bundle you want to be unzipped at installation time, just add the 
following line to the META-INF/MANIFEST.MF file:



Eclipse-BundleShape: dir



It worked like a charm for us with 3.6 and 3.7.



Regards,

Christian





De : [email protected] [mailto:[email protected]] De la part 
de Natalia Bartol
Envoyé : January 4, 2012 2:03 PM
À : P2 developer discussions
Objet : [p2-dev] Bundle not unpacked after update



Hello,



I have a feature that contains plugin which is marked to be unpacked after 
installation. However after updating this feature to a newer version this 
plugin remains as a jar. Both generated profile and update site metadata look 
correct, plugin's unit definition contains



<instruction key='zipped'>

            true

 </instruction>



anyway, the new plugin is downloaded but not extracted.



Just for test I removed instruction key='zipped' from update site metadata and 
it fixed the issue...

I'm confused.



Any hints will be appreciated!



Regards,

Natalia








 
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.
 

<<inline: CPWRsig_04_11-03-2010.jpg>>

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

Reply via email to