Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Bundle not unpacked after update

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

 

 


 

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.
 

De : p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] 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

 

 

 



Back to the top