Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] How to build [EJ]Git?

On 2010-01-06, at 9:35 AM, Alex Blewitt wrote:

> On Jan 6, 2010, at 04:10, Igor Fedorenko wrote:
> 
>> 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.
> 
> I thought manifest-first development didn't need a CLI build to generate manifests?
> 

JGit is not a manifest-first build anymore. Shawn converted it to be a normal Maven build which probably makes the most sense because JGit as an artifact is consumed by other projects. As a maven-bundle-plugin project the manifest is generated. Though I think creating a BND file which represents the final manifest would be better because then you don't have the to the JAR scanning in order to create the manifest. A BND file is honestly nicer to look at then manifest. What this will allow us to do is create a non-expensive way to have JGit and EGit in the Eclipse workspace without having to constantly generate the manifest in the pom-first JGit project. We just have to settle on the approach as the JGit build the way it is does not make it work well with PDE or Tycho. Pick your poison we'll adjust Maven and Tycho.

>> 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.
> 
> That should be easy enough to do, and would help it pick up the changes.
> 
>> We have m2e extensions we use internally to automate some of this, but
>> you need to talk to Jason if you are interested.
> 
> Can you provide a patch to do the changes to get JGit/EGit building/running in Eclipse again, without needing to drop down to a command line tool?
> 

Ideally we just want to import one of JGit or EGit, or both and it should all work. This is what we had in mind.

> Alex
> 
> _______________________________________________
> egit-dev mailing list
> egit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/egit-dev

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------



Back to the top