Jan 2015. This document explains how to get Git Extensions working with Eclipse.
Git Extensions is a very handy Windows GUI for Git. I find it easier to use and more general than EGit (git for Eclipse).
In particular, this is looking at using GitExtensions and Eclipse with the First Robotics Java packages.
I’ll be looking at #3. A few steps can be simplified if you just want to do #1 or #2.
I. Install Git Extensions
II. Install Eclipse
For installations of type #2, and #3, follow the instructions at wpilib.screenstepslive.com. (It says that you need to install the C++ version – presumably because some of the scripts used to build and upload the jar files are in C++.)
III. Make a test project in Eclipse
This is to see where the Eclipse workspace is. In the example shown, my workspace is in …\user\workspace
So, you can see that “testing” has been created and where it is located.
IV. Clone the GitHub repository
1. First get the repository URL from the GitHub page (see red circle)
2. Then click on “Clone Repository” — NOT “Clone GitHub repository”
3. Paste in the URL of the repository.
4. Then make sure that you type in exactly the correct workspace location. It will fill in the correct subdirectory automatically, but check to make sure it’s correct.
5. Click on the “Clone” button.
5b. After this there will be a success message, click OK.
5c. It will say “Do you want to open the new repository ____ now?” Click “Yes” to see the screen below.
V. IMPORT the git project into Eclipse.
1. Start Eclipse if it is not already running.
4.If the new repository does not show up there, then click on the ADD button and find it. (I just had to navigate to the C:\Users\user\workspace folder, and it automatically found the new git repository that I put there via Git Extensions.)
Oops! I highlighted the wrong one in this screen shot.