firstname.lastname@example.org wrote on 08/31/2006 04:08:03 PM:
> I don't have a problem with the javahl APIs. If they're available, by
> means. It wasn't an issue of jar size or confusion as to the need (or
> thereof) of the native APIs. I just found the javahl dependency on a
> implementation unexpected.
> svnClientAdapter, as I understand it, supports 3 clients explicitly:
> line, javahl, and javasvn. I had assumed that enabling one of those
> would mean that the dependencies of the other clients wouldn't be
> I mean, if javasvn is going to use javahl anyway, why bother with an
> explicit 'javasvn' client type? Just include the javasvn-javahl.jar file
> let the classloader sort it out.
Because JavaHL is really two things:
1) A set of interfaces that define a high-level API for Subversion
2) An implementation that uses JNI to call the native Subversion
JavaSVN provides an alternative to #2 written in pure Java. It makes
sense for us to use that simply because they are providing and maintaining
it. It does not make sense for us to do our own version.
> Anyway, it's not that big a deal. I totally understand why you're not
> interested. I would like to know what explicit javasvn client support
> provides on top of the standard javahl functionality? Are there features
> javasvn has that aren't adequately exposed through javahl, or are there
> limitations in javasvn vs the native version that need to be
JavaSVN includes things that native Subversion does not currently. It
kind of does not matter though. svnClientAdapter is ultimately based on
what can be done with JavaHL and mostly just mirrors that API and
interface. There are some places where we have added options to use a
custom feature of JavaSVN but there are not a lot of areas that lend
themselves to that.
> Would it be possible to discover automatically that javasvn was being
> as the javahl implementation and have the factory adjust according to
> implementation it provided?
I'd say that we already do, do this.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Aug 31 22:29:56 2006