Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Installing eGit in Eclipse and CodeWarrior for MCU10.4

DZone's Guide to

Installing eGit in Eclipse and CodeWarrior for MCU10.4

· DevOps Zone ·
Free Resource

Discover how quick and easy it is to secure secrets, so you can get back to doing what you love. Try Conjur, a free open source security service for developers.

Git is now my favorite version control system. Git and GitHub are very powerful, it has (nearly) all features I can think about, and best of all: As a distributed version control system, I can work with it, even if disconnected from the network :-) .

There are many standalone and IDE integration available for Git. Beside of using TortoiseGit, I’m using the eGit Eclipse integration. This post is about how to install eGit in Eclipse, particularly in CodeWarrior for MCU10.4.

Installation

I’m using screenshots with the Eclipse based CodeWarrior for MCU10.4.

:!: The normal eGit update site is . Because the Eclipse version used by CodeWarrior for MCU10.4 is an older one, the current eGit version. You will likely receive an error “Missing requirement: Git Team Provider UI 3.0.1.201307141637-r (org.eclipse.egit.ui 3.0.1.201307141637-r) requires ‘bundle org.eclipse.team.core [3.6.100,4.0.0)' but it could not be found". See this forum thread. The solution is to use 'http://download.eclipse.org/egit/updates-2.2/' as update site.

  1. Use the menu Help > Install New Software and press 'Add...' button
  2. Specify http://download.eclipse.org/egit/updates as URL. This is the URL which has the latest and greatest eGit version. However, as CodeWarrior for MCU10.4 is using an older version, use http://download.eclipse.org/egit/updates-2.2/
    eGit Repository for MCU10.4

    eGit Repository for MCU10.4

    eGit Repository Location

    Standard eGit Repository Location

  3. I’m not interested in the sources, so I just select the plugin:
    Eclipse EGit Selection

    Eclipse EGit Selection

Pressing Next, and it should not report any dependency problems. Go through the rest of the dialogs, and after a restart you have eGit integrated in Eclipse.

Summary

Having an Eclipse Git integration as eGit is really nice, and not difficult to install. The only hick-up is if using an older Eclipse version as CodeWarrior for MCU10.4. Then using the dedicated update site http://download.eclipse.org/egit/updates-2.2/ solves the problem.

Happy eGiting :-)

Conjur is a free open source security service built by DevOps engineers. With integrations with all your favorite tools and an easy way to secure secrets, it's a no brainer. Come check it out!

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}