2

I need to checkout on my Eclipse Workspace an existing project hosted on GitHub. I have the project URL, and I already installed Egit and Mylyn. But I don't know what the next step is. Could you help me?

Zoe
  • 27,060
  • 21
  • 118
  • 148
CarlosJavier
  • 1,005
  • 1
  • 16
  • 29

1 Answers1

0

If you already have mylyn and egit, then you may also want to install the github connector. Afterwards you can directly import a github repository just giving the name (see the second screenshot of the link).

Bananeweizen
  • 21,797
  • 8
  • 68
  • 88
  • Doing this, the repository is added to the "Git Repositories" view. Now, how can I import it as a (Maven/Ant/Eclipse) project into Eclipse in order to work with the project(s) hosted within this Github repository? – Abdull Aug 20 '13 at 23:27
  • Right click on the repository -> "Import projects". – Bananeweizen Aug 21 '13 at 05:03
  • Scenario: this repository hosts a Maven project (`pom.xml`) and I want to import it as a project into Eclipse. Solution: Right click repository -> "Import Projects..." -> "Import as general project" -> "Finish". Now right-click the newly created project -> "Configure" -> "Convert to Maven Project". Now right-click project and select "Run As..." -> "Maven Build..." for building options .......... is there any less awkward solution? – Abdull Aug 21 '13 at 19:10
  • For a Maven project the most easy way is Import -> Maven -> Materialize from SCM, without any of the above steps. And please create your own questions for unrelated questions. This will totally confuse further readers. – Bananeweizen Aug 21 '13 at 19:19
  • I'm sorry for hurting your feelings. I read the question ass importing a project, not (only) about importing a repository. – Abdull Aug 21 '13 at 23:05