[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How do I know if I'm using JavaSVN?

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-12-27 19:37:51 CET

Aadi Deshpande <mailinglists@clubmom-inc.com> wrote on 12/27/2004 01:27:24
PM:

> (apologies if this is not a suitable place to post )
>
> I just tried switching to JavaSVN because
>
> a) I couldn't figure out how to have subclipse load up the javahl
> bindings on my installation correctly
> b) i figure pure java is probably the better way to go
>
> I followed the directions on the website ( and actually did the replace
> of the svnClientAdapter.jar file so as not to load up the native
> bindings )
>
> However, I don't see an option for JavaSVN in the preferences dialog.
>
> My config is set to JavaHL, and there's also the option for the
> command-line client.
>
>
> How do I know if I'm using it correctly or if it's just defaulting to
> the command-line client?

The reason you can possibly use JavaSVN is that they have decided to
"emulate" the JavaHL bindings by implementing the same Java-level
interface. So an application like Subclipse, which uses JavaHL, doesn't
know that it is really using JavaSVN. In other words, it would show up as
JavaHL in the Subclipse preferences. A future version of Subclipse will
add a 3rd option for JavaSVN in the preferences and you will not have to
do any of those manual steps.

If you have followed the directions correctly, and the Subclipse
preferences do not issue any error messages relating to JavaHL, then it is
likely that is what you are using.

To address your other comments, right now, there is absolutely no question
that the best option available is JavaHL. JavaSVN is still in development
mode and it is very possible that it could have subtle inconsistencies
with the Subversion libraries that cause problems if you want your WC to
interoperate with other Subversion clients. The only real issue with
JavaHL is that if you are running on Linux, it can be difficult to get the
bindings installed correctly. If you are on Windows, we include the
bindings with Subclipse, and if you are on OS X, just download and install
the Metissian package for Subversion and it includes the bindings.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Tue Dec 28 05:37:51 2004

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.