[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [egit-dev] How to build [EJ]Git?
|
Hi,
for me maven plugin in combination with git din't work.
I did the project setup of jgit for eclipse now using maven command line tool.
1. checked out jgit project via command line git:
git clone git://egit.eclipse.org/jgit.git jgit
2. change into this directory: cd jgit
3. mvn eclipse:eclipse
4. start eclipse import via existing eclipse project.
This was the way it worked for me now i a have egit and jgit projects imported. Maybe this can help someone else.
BTW. On Mac OS X mavenplugin fails to use git because it cant find git.
!MESSAGE /bin/sh: git: command not found
git was installed here via: http://code.google.com/p/git-osx-installer/
it's located in /usr/local/git/bin/git but path was set and works fine.
Regards,
Dominik
Am 06.01.2010 um 11:54 schrieb Matthias Sohn:
> 2010/1/6 Dominik Zajac <banym.tuxaner@xxxxxxxxxxxxxx>
> Hi,
>
> for me import of jgit projects didn't work. Maybe i missed something but i checked it out via git but it failed to include the project into workspace with the message no project files found.
>
> Here step by step what i did:
>
> via shell: git clone git://egit.eclipse.org/jgit.git jgit
>
> started eclipse.
>
> -> right click <import> -> Existing Projects into Workspace -> (selected directory)
>
> but not able to find project files. i tested the other directories, too. same problem.
>
> JGit sources don't contain .project files anymore, they have to be generated from pom.xml using Maven, if you import JGit using m2eclipse this is done automatically.
>
> --
> Matthias
> _______________________________________________
> egit-dev mailing list
> egit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/egit-dev