tag:blogger.com,1999:blog-17823979.post3067275829444964193..comments2023-09-29T05:03:51.672-04:00Comments on DivByZero.com: Troubleshooting Eclipse.org Mirrors / Using Profiles & Target Platform Definition Files With Tychonickbhttp://www.blogger.com/profile/09200865148587349560noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-17823979.post-25218722654648358192010-08-11T11:41:44.749-04:002010-08-11T11:41:44.749-04:00I've recently given up and just started creati...I've recently given up and just started creating my own mirrors. Thanks to the magic of Tycho, I only need:<br /><br />a) rsync the stuff from download.eclipse.org to somewhere else<br />b) add pom.xml files to the plugins<br />c) create site.xml + pom.xml <br />d) build update site<br />e) publish to my own mirror w/ fresh metadata<br /><br />There's prolly an easier way, but this worked for me.nickbhttps://www.blogger.com/profile/09200865148587349560noreply@blogger.comtag:blogger.com,1999:blog-17823979.post-89418228922615393142010-07-21T17:03:39.269-04:002010-07-21T17:03:39.269-04:00I've found also that Tycho 0.9.0 seems to hand...I've found also that Tycho 0.9.0 seems to handle mirror issues easier, and has better handling of picky update sites as well.David Carverhttps://www.blogger.com/profile/09341170413510029324noreply@blogger.comtag:blogger.com,1999:blog-17823979.post-84242654357948114032010-07-21T05:26:06.851-04:002010-07-21T05:26:06.851-04:00Hi Nick,
since the mirror has the same metadata (...Hi Nick,<br /><br />since the mirror has the same metadata (artifacts.xml/content.xml) as eclipse.org, it still points back to download.eclipse.org as the primary site (p2.mirrorsURL). Only removing this property will force p2 to not use mirrors at all. But then, who can change the metadata of a mirror? An alternative might be to instruct p2 to exclusively use download.eclipse.org (eclipse.p2.mirrors=false). <br />Aside from that, you can ask the webmasters to tweak download.php to return your preferred mirror first based on the IP the request comes from. Though p2 still chooses mirrors based on a logarithmic distribution with the first mirror be used with a chance of 1/2, second 1/4... (org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.selectMirror(IProgressMonitor))http://www.lemmster.dehttps://www.blogger.com/profile/09529260152057016495noreply@blogger.comtag:blogger.com,1999:blog-17823979.post-71397269784845000702010-07-21T03:37:36.238-04:002010-07-21T03:37:36.238-04:00...now how does one convince the P2 update UI for ......now how does one convince the P2 update UI for the same ?Maxhttps://www.blogger.com/profile/12292281395523675930noreply@blogger.com