[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] Bundles in repository vs product
- From: "Sievers, Jan" <jan.sievers@xxxxxxx>
- Date: Wed, 13 Apr 2011 09:28:48 +0200
- Accept-language: en-US, de-DE
- Acceptlanguage: en-US, de-DE
- Delivered-to: firstname.lastname@example.org
- Thread-index: Acv5QimXdo+IJyBEQOu0sE4wRTaHsgAaD1bQ
- Thread-topic: [tycho-user] Bundles in repository vs product
>What is the logic
>that decides whether or not a bundle ends up in the repository?
The difference is that p2 director (which is used to create the product) always adds all transitive dependencies to the product (regardless whether they are "included" dependencies [i.e. with perfect version match] or bundle dependencies with a version range.
By default, the repository contains only the transitively *included* dependencies.
If you want all transitive dependencies added to your repository, configure
(this was added in tycho 0.11.0, see https://issues.sonatype.org/browse/TYCHO-551 )
In general, this happens if your .product definition is not transitively complete.
So your other option should be to add all missing transitive dependencies explicitly to your .product (or the features included in your product).
BTW, PDE .product editor has a "validate" button which should help you list the missing dependencies.
>And isn't the product based on the contents of the repository?
Not exactly. p2 director resolves against local reactor and your target platform during installation of the product.
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Eric Jain
Sent: Dienstag, 12. April 2011 20:48
Subject: [tycho-user] Bundles in repository vs product
How can it be that target/repository/plugins/ in a module with
packaging type "eclipse-repository" (0.10.0) ends up containing far
fewer bundles than one of the products, e.g.
Looks like the repository contains all our own bundles, but only some
(mainly org.eclipse.*) of the third-party bundles. What is the logic
that decides whether or not a bundle ends up in the repository? And
isn't the product based on the contents of the repository?
tycho-user mailing list