[
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 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.
Kind Regards,
Dominik
Am 06.01.2010 um 05:10 schrieb Igor Fedorenko:
> Robin,
>
> You should be able to import egit as existing eclipse projects into
> workspace, unless I am missing something.
>
> Things get little bit more interesting if you want to have both jgit and
> egit projects in the same workspace. In order to trick PDE to consider
> jgit projects you need to do two things. First, you need to generate
> bundle manifests by running jgit CLI build. Second, you need to add PDE
> nature to o.e.jgit and o.e.jgit.junit projects. You may have to
> regenerate manifests after significant changes (new dependencies), but
> hopefully this won't be needed too often.
>
> We have m2e extensions we use internally to automate some of this, but
> you need to talk to Jason if you are interested.
>
> --
> Regards,
> Igor
>
>
> Robin Rosenberg wrote:
>> måndagen den 4 januari 2010 15.15.45 skrev Matthias Sohn:
>>> 2009/12/30 Robin Rosenberg <robin.rosenberg@xxxxxxxxxx>
>>>
>>>> I found Mathias' patch, merged it into my "maven" workspace. That
>>>> worked so I approved the patches in gerrit, deleted my projects an
>>>> now I get this message for all egit projects.
>>>>
>>>> Cannot find ArtifactRepositoryLayout instance for: p2 pom.xml
>>>> egit-parent line 1 Maven Problem
>>> I wrote down how I import JGit projects using JGit in the wiki
>>> http://wiki.eclipse.org/EGit/Contributor_Guide#Using_Maven_project_importer
>>>
>>> But for EGit this procedure doesn't work (hence this is TBD:(), I filed a
>>> bug on m2eclipse for that
>>> https://issues.sonatype.org/browse/MNGECLIPSE-1973
>> That's bad.... What do we do then? Revert the maven patches so we can resume
>> hacking egit?
>> -- robin
> _______________________________________________
> egit-dev mailing list
> egit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/egit-dev