[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] How does tycho materialize an eclipse-repository


the repository is build through the org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo which invoke the P2 MirrorApplication through a Tycho wrapper.


On Fri, Jun 1, 2012 at 3:58 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi all,

I am trying to work on a way to include directly bundles in an update-site, without having to use features for indirections.
I think I succeeded to implement some necessary changes in Tycho to be able to categorize directly bundles into categories, as I requested here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=378338 . However, I am still not sure how that could apply to Tycho.
AFAI Understand, Tycho does 2 things with an eclipse-repository: first it gathers all features (and included features and plugins) defined in the repo; and then it applies a categoryPublisher on it. Am I right?
So I have a question on this first step: can you please tell me whether Tycho has its own mechanism for creating the repository contents, or if it relies on p2? In both case, a link to the piece of code responsible of gathering the features/ and plugins/ content from a category.xml is very welcome.

Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

tycho-dev mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup