Presentation is loading. Please wait.

Presentation is loading. Please wait.

Setting up an Eclipse project from a repository on GitHub

Similar presentations


Presentation on theme: "Setting up an Eclipse project from a repository on GitHub"— Presentation transcript:

1 Setting up an Eclipse project from a repository on GitHub

2 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

3 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.

4 GitHub project being cloned

5 Clone your project repository there from GitHub

6 Open Eclipse in the workspace you created

7 Eclipse creates the .metadata folder inside of its workspace

8 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

9 Should look like this

10 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.

11 Add the project to the framework
At this point the original cloned folder should be deleted to prevent confusion

12 Resulting project file contents

13 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


Download ppt "Setting up an Eclipse project from a repository on GitHub"

Similar presentations


Ads by Google