Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » New Java project from "local" repo
New Java project from "local" repo [message #735949] Thu, 13 October 2011 03:43 Go to next message
Eclipse UserFriend
Hello. I recently installed EGit v1.1.0. I'm struggling with creating Java project from cloned repository.

First I cloned repository and I see it in "Git Repositories" view. Then I do:

File -> Import -> Projects from Git -> select repository

Now my choices are:
1) Import existing projects
2) Use the New Project wizard
3) Import as general project

1) Doesn't work because the project is not Eclipse project (but it's Java project).
2) Just creates new project (Java project in my case but without git team stuff).
3) Is almost what I want, but the project is not Java project.

I think 2) should be what I want but somehow it doesn't work for me (it doesn't work like in 3)). Am I doing something wrong?


By the way if I do "Team -> Share project -> Git -> select repository and Finish" Eclipse creates project directory under selected repository so I still can't access repository so this isn't what I want.


Thank you for help.

[Updated on: Thu, 13 October 2011 03:47] by Moderator

Re: New Java project from "local" repo [message #736049 is a reply to message #735949] Thu, 13 October 2011 08:59 Go to previous message
Eclipse UserFriend
You want (3), import as general project. After the import you can easily add a builder/nature to convert the general project to a java project. Then add, commit and push the changes: .project, .classpath, and optionally .settings

Previous Topic:Identify Changed Files
Next Topic:install fails in eclipse classic/java developers
Goto Forum:
  


Current Time: Tue Jul 22 18:23:13 EDT 2025

Powered by FUDForum. Page generated in 0.05848 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top