Am Wed, 7 Jan 2015 16:42:56 +0000 schrieb sebb <seb...@gmail.com>: > On 7 January 2015 at 16:06, luc <l...@spaceroots.org> wrote: > > Hi Sebb, > > > > Le 2015-01-07 16:11, sebb a écrit : > > > >> I've just started trying to look at some Math code with Eclipse. > >> > >> However it's not at all obvious how to create the initial project. > >> > >> I'm used to SVN where there is a list of SVN repos, and one can > >> just checkout the required tree. > >> > >> How is one supposed to add the initial project to Eclipse? > > > > > > You are right. It is not obvious. > > > > You should select File -> import... and from the popup wizard find > > the Git-> Projects from Git. > > OK, that works, but there seems to be no way to create the project in > the same workspace as the other Commons components.
Actually there are multiple ways. The Eclipse integration of Git somewhat asumes you want to have a shared Git Repo location independent of the workspace. This has the advantage that all workspaces share the same local Git repository. However I prefer the more traditional approach with .git containing the repo. So my prefered way is to use the command line tools to check out a repo. This not only has the advantage that I can use cut+paste of the checkout command, but it also will use the .git location and I can directly create it in the WS directory. After that you "import existing maven project". You can also use the repository view in Eclipse: "Show View -> "Git Repositories". Here you can paste a repository path, it normally asumes a shared repository directory as well, but you change the "directory" setting to the would-be project location in the workspace. (ie. \ws\commons-math instead of USER\git\commons-math). This even allows to import in one step. Having the repo view open is helpful anyway, so this could be the best way (unless you prefer like me the command line for initial checkouts). Gruss Bernd > > You can look here: > > <http://www.vogella.com/tutorials/EclipseGit/article.html#clone_respository>. > > > > I'll add it to the wiki. > > Thanks. > > > best regards, > > Luc > > > > > > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > >> For additional commands, e-mail: dev-h...@commons.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org