Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] DefaultBundleReader unzips the same dependency several times

Hello all,

A few days ago,  I run into this issue :

https://bugs.eclipse.org/bugs/show_bug.cgi?id=352923

 

in a nutshell :  

Tycho, during the target platform resolution phase (before the reactor is defined) , extracts from the bundle dependencies all the Bundle-ClassPath entries it finds.

Thing is, Tycho extracts each entry each time it encounters an eclipse-plugin needing this bundle dependency; so if you have 10 eclipse-plugins that depends on org.example:1.0.0 (downloaded from a p2 repo) and that in org.example:1.0.0 you have 4 Bundle-ClassPath entries, then Tycho will extract each entry 10 times.

When org.example:1.0.0 is light, this is OK, when it is huge , it takes a loooooooooong time before you can see the reactor...

 

I submitted a patch in the BZ, and I just wanted to tell you all that it is working fine for all my builds (I published this patch in our local Nexus, and our builds just got really faster) + the Tycho tests are still all passing after patching.

 

Hoping that it will make it into 0.13.0 (whenever it happens ;-) )

Have a good week end

Best regards,

 

Anthony Dahanne

Développeur logiciel / Software Developer

Compuware Montreal

75 Rue Queen, Suite 6500

Montreal, QC, Canada H3C 2N6

+1-514-798-8949

 


 

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.
 


Back to the top