|p2: Unable to specify an associate/referenced repository [message #840671]
||Tue, 10 April 2012 11:08
| Rüdiger Herrmann
Registered: July 2009
I am building a p2 repository for a feature. Apart from dependencies on
the Eclipse platform, this feature has dependencies to bundles that can
not be found in the default repositories (those that ship with the
Eclipse SDK download).
Now I learned that a repository can have associate/referenced
repositories. Only I can't make them work.
First, I tried to add an update site reference to the feature.xml file.
According to , this should be converted into a repository reference
by the p2 publisher. The site reference look like this:
<discovery label="Associated repo" url="http://..."/>
But the content.xml produced by the tycho-based build does not contain
the expected repository references.
Next, as also suggested in , I tried to specify the referenced
repository in a p2.inf like so:
Though the information ends up in the content.xml, it seems to be
ignored. While installing (Eclipse > Help > Install new Software) the
feature, the p2 installer complains about unresolved dependencies (those
that are contained in the associate repository).
Variations to the above didn't succeed either:
* instructions.install instaed of instructions.collect
* org.eclipse.equinox.p2.touchpoint.eclipse.addRepository instead of
Sorry that this post got rather lengthy but I hope you are still with me
and can give me some hints why this doesn't work.
Powered by FUDForum
. Page generated in 0.02182 seconds