Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » New Java project from "local" repo
New Java project from "local" repo [message #735949] Thu, 13 October 2011 07:43 Go to next message
paul  is currently offline paul
Messages: 1
Registered: July 2009
Junior Member
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 07:47]

Report message to a moderator

Re: New Java project from "local" repo [message #736049 is a reply to message #735949] Thu, 13 October 2011 12:59 Go to previous message
R Shapiro is currently offline R Shapiro
Messages: 386
Registered: June 2011
Senior Member
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: Mon Sep 22 22:33:10 GMT 2014

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

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