Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Buck build for JGit

If I build  
buck build //:jgit_bin
the resulted binary reports:
$buck-out/gen/jgit_bin/jgit_bin version
jgit version 1.3
(same also for $buck-out/gen/jgit_bin/jgit_bin --version).

Same code built with 
$mvn clean install -Dmaven.test.skip=true
produces this output:
$org.eclipse.jgit.pgm/target/jgit version
jgit version 4.2.0-SNAPSHOT

The obvious difference is that MANIFEST.MF produced by buck seem to be a mix of manifests from all involved jars it found during the build, while MANIFEST.MF built by maven contains only expected data for pgm bundle.

Beside this, the jars build by maven and buck differs also in other parts (maven packages osgi and log4j implementation classes inside). While I have no idea why do we need osgi in the jgit binary, missing log4j can be problematic.

On Thursday 31 December 2015 18:15 Shawn Pearce wrote:
> Buck is mostly working inside JGit. And its so much faster than Maven.
> 
> So now we have 3 build systems:
> 
> - Maven
> - Eclipse P2 / Tycho
> - Buck
> _______________________________________________
> jgit-dev mailing list
> jgit-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jgit-dev

-- 
Kind regards,
google.com/+AndreyLoskutov


Back to the top