Ivan's Blog

Vague mumblings about all sorts of things. Java, Agile, Open Source...

Tuesday, September 21, 2004

Updating Eclipse with a faster mirror

Having wasted a little time (and nearly fallen asleep several times) waiting for Eclipse to upgrade itself from 3.0 to 3.0.1 from the main Eclipse site I though there must be a better way.

From some docs I did the following:
  • Created a file in you eclipse directory called "download-policy.xml"

  • I made the contents


    <?xml version="1.0" encoding="UTF-8"?>
    <update-policy>
    <url-map pattern="org.eclipse"
    url="http://mirror.pacific.net.au/eclipse/ ...
    eclipse/updates/3.0/site.xml">
    </update-policy>


    Obviously you should set the url attribute to the mirror that your want to use



  • In Window->Preferences->Install/Update->Update Policy I entered
    file:///c:/progs/eclipse/eclipse/download-policy.xml
    (put the path to the xml file you created in the url)

  • Finally I performed an update of currently installed features as normal and found that the update downloaded from my selected mirror.

Labels:

0 Comments:

Post a Comment

<< Home