|Re: [p2-dev] Multiple repositories at the same location|
In this situation the difficulty is to determine, given a set of potential candidate, which one is best. For example if I have a Maven repo, and a p2 repo in the same place, which one should I go for? Today we have a special case with some sorting to handle a similar situation with a site that contains a site.xml and content.jar, but I'm not sure how to generalize this without having everybody say that their repo is more important than everybody else's one :)
One solution that I just thought about could be to have the owner of the site express its preference for its users. After all, he is the one making several repos available so he should know what is best :-).
Another idea we toyed around in the early days was to specify the URI of the repo file instead of the folder, and then let the manager through some kind of content type like detection see if it can handle it. This way there was no guessing to be done. This had the advantage of being clear about what you would t, but had the drawback that if you could have had to give several URLs to your clients depending on the kind of repo handler they had available.
In addition to the bug mentioned by Susan, there is also the ancient https://bugs.eclipse.org/bugs/show_bug.cgi?id=177231
"Ian Bull" ---21/10/2008 06:27:16 PM--->From what I understand there was some discussion around having multiple repositories at the same lo
"Ian Bull" <irbull@xxxxxxxxx>
21/10/2008 06:27 PM
[p2-dev] Multiple repositories at the same location