Community
Participate
Working Groups
Currently the IU location is always loaded from the configured URL in the target file. In several cases it would be convenient to configure a mirror as tycho support it. These cases include: - You have build a local version of a project and like to use that build result instead of the official URL to test if a change/bugfix is working as desired - You want to mirror official sites, e.g. for performance or offline usage For example there could be a new preference under PDE > Target Platforms > Mirrors where I can specify a mirror for a given URL.
(In reply to Christoph Laeubrich from comment #0) > Currently the IU location is always loaded from the configured URL in the > target file. In several cases it would be convenient to configure a mirror > as tycho support it. > > These cases include: > > - You have build a local version of a project and like to use that build > result instead of the official URL to test if a change/bugfix is working as > desired > - You want to mirror official sites, e.g. for performance or offline usage > > For example there could be a new preference under PDE > Target Platforms > > Mirrors where I can specify a mirror for a given URL. This is a solution to a problem. I guess that the problem is that you want the build to not fail if one site cannot be reached. If this guess is correct, then maybe it is better to let PDE cache the previous successful pull and use that in case of a network failure.
(In reply to Wim Jongman from comment #1) > This is a solution to a problem. > > I guess that the problem is that you want the build to not fail if one site > cannot be reached. > > If this guess is correct, then maybe it is better to let PDE cache the > previous successful pull and use that in case of a network failure. Hi Wim, actually I have the following in mind: Lets say I have an open-source repository and publish a target file with all the official URLs in them. Now I want to use the company mirror (not reachable from the internet) for that as I'm not allowed/want/whatever reach out directly to the internet. What should I do? Maintain two target files? edit mine and make sure I never commit it, what about updates? Should I simply don't care about people out there and hack in my own URLs let the target fail for everyone else? This is essentially the same as maven allows to define mirrors for certain repositories (and Tycho already support this).