Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] PDE product based build & p2.gathering : incompatible ?

Hi Anthony.

You should be able to use a p2.mirror task with some combination of the greedy, strict, and optional flags to pull out the product from the resulting repository without the optional dependencies.  I don't remember the combination offhand, but it is possible.

Brian.

On 2-Feb-2011, at 1:07 PM, Dahanne, Anthony wrote:

> Hello all,
> I'm using PDE build to build a product; and while this product is being
> built, a P2 repo containing all my features and plugins is created at
> the end of my build, thanks to p2.gathering=true.
> 
> Now here's the thing I noticed : while this p2 repo is built ok, it
> includes dependencies of my features and plugins; I mean all transitive
> dependencies; so if my product just depend on pluginA, then the
> buildRepo will contain pluginA and all of its transitive dependencies;
> something I definitely don't want for a p2 repo...
> 
> The thing is, if I use PDE build to build a feature, containing the same
> plugin as my product, then the buildRepo created (still thanks to
> p2.gathering=true) will only contain pluginA and the feature.
> 
> And now I'm thinking : maybe PDE build was just created with 2 separate
> use cases in mind : whether I want to crate a product OR I want to
> create a P2 repo, but not both at once !
> 
> So, tell me guys, how do you proceed when you want to build a product
> and export its plugins and features via a P2 repo  ? do you do 2
> separate builds ? (one for the product, another just creating the P2
> repo based on features )
> Or is it possible to do both at once  (without bringing all the
> transitive dependencies in the P2 buildRepo)
> 
> By the way, this concern seems to have be raised in this bug : 
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=313334 , but I'm not sure
> it is the same issue discussed
> 
> Thanks a lot for your answers
> Best regards,
> 
> 
> Anthony Dahanne
> Software Developer
> Compuware Montreal
> 75 Rue Queen, Suite 6500
> Montreal, QC, Canada H3C 2N6
> 514-281-1100 x1173 Direct
> 
> 
> 
> 
> 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.
> 
> 
> _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-dev

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top