Setting up an Eclipse project from a repository on GitHub
Create a workspace folder If you do not already have one, create a workspace folder on your development machine where you will setup the Eclipse project. For this example I have created a folder named: C:\aWorkbench\RoverSwarmWorkspace
Open a GitBash command line window there For Windows – right click in file explorer inside the open folder pane. For Mac – open a commandline window, type cd, and drag the folder from the file explorer into the command line window.
GitHub project being cloned
Clone your project repository there from GitHub
Open Eclipse in the workspace you created
Eclipse creates the .metadata folder inside of its workspace
Create a new project as a framework can not have the same name as GitHub repository Make sure that the project framework is using the save version of java as the original project that it is cloned from
Should look like this
Combine the project folders Copy contents of the git clone folder into the project folder created by Eclipse Erase the original git clone folder Refresh the Eclipse project explorer Point Eclipse to the lib jars and libraries as necessary.
Add the project to the framework At this point the original cloned folder should be deleted to prevent confusion
Resulting project file contents
Refresh the Eclipse project Setup Eclipse to point to jar files and libraries as necessary It may require restarting Eclipse and/or manually importing the existing files for it to recognize the new content