Wednesday, April 20, 2011

CDT, EGit (git) and Eclipse 3.6 Helios Classic on Fedora 12 on a web proxy

I had a hard time installing CDT and EGit on Eclipse 3.6 Classic on Fedora 12, and I finally figured out how to do it.  Here’s what finally worked:
  1. Download Eclipse classic 3.6.0 from http://www.eclipse.org/downloads
  2. setenv HTTP_PROXY http://your.proxy:80
  3. setenv http_proxy http://your.proxy:80
  4. Start eclipse.
  5. In Eclipse, go to Help | Install New Software…
  6. Click “Add…”.
  7. Add in the EGit update site; the update site URL is not http://www.eclipse.org/egit/download but you can get the update site URL there.
  8. Install EGit, and restart eclipse.  Installing EGit will automatically add the CDT to the “Available Software Sites”.
  9. In Eclipse, again go to Help | Install New Software…
  10. Click on the “Available Software Sites” blue link.
  11. Scroll down the list until you see the CDT update site (http://download.eclipse.org/tools/cdt/releases/helios).  Check that checkbox, and click “OK”.
  12. On the “Work with:” combo box, do NOT type in the cdt site.  Instead, use the combo box (the arrow) to choose the CDT update site.
  13. Install CDT, and restart eclipse.

No comments: