Hi,
Afaik, you have several options. The first one would be to
ensure that all optional dependencies have x-greedy=false in their
manifest files [1]. The second option is to explicitly list all bundles
you want in a target file and add includeMode="slicer" to repo
definitions [2]. The third option is to mirror your target repos, while
skipping optional dependencies before materializing them [3].
I'm not sure if p2 filters can be used here, but would be glad to see a solution using them.
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=247099#c108
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=342704#c10
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=247099#c110
/Mikhail
Från: "Christophe Bouhier" <dzonekl@xxxxxxxxx>
Till: "Tycho user list" <tycho-user@xxxxxxxxxxx>
Skickat: fredag, 27 sep 2013 15:09:15
Ämne: Re: [tycho-user] optional dependencies - one more thing....
So I understand this clearly, make sure the optional plugin is not in the .target definition as IU, if it is it will be included in the RCP as an optional dependency correct? But what about using filters, woudn't that have the same effect?
Thank You,
Christophe
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user