Build jgit.jar and jgit_src.zip alongside jgit CLI wrapper
commit7f62b2be009ae33dc6109ea64768fb2b8be83d1c
authorShawn O. Pearce <spearce@spearce.org>
Tue, 2 Sep 2008 16:28:11 +0000 (2 09:28 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 2 Sep 2008 17:50:43 +0000 (2 19:50 +0200)
treeea8af4f9878e3c829d79a16aeb25988558b4d43a
parent13bff2e0d957b47df7f0efee51b389cb65e5efb9
Build jgit.jar and jgit_src.zip alongside jgit CLI wrapper

When we build jgit the CLI executable we have the classes already
compiled so we can easily construct a jgit.jar and jgit_src.zip
at the same time.  This makes it easier for folks who need the
library and not the command line interface package.

We do not include JSch in jgit.jar as we assume the downstream
user can supply us the package.  In an IDE scenario it is quite
likely the IDE already has a copy of JSch available for use, so
we really don't want to supply our own and potentially put two
different versions on the classpath.

The version we embed within our JAR manifest is now more like
the dotted format used by C Git or git-gui.  In particular we
embed the "-dirty" suffix if the tree contains modifications.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
.gitignore
make_jgit.sh