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

RE: Subversion/Tortoise questions

From: Ludwig, Michael <Michael.Ludwig_at_delphi-mb.de>
Date: Wed, 10 Nov 2010 18:59:59 +0100

> > SvnAnt uses the svnClientAdapter.jar, which in turn uses one of:
> >
> > (1) JavaHL - Java/JNI to C++ core library interface [1]
> > (2) SvnKit - pure Java implementation [2]
> > (3) command line client, for example [3]

> With regards to the Windows Subversion Client. If several scripts are
> using the Subversion Command line client is the client shared or is a
> separate client launched when separate scripts are ran at the same
> time ?

Not entirely sure I understand your question.

As far as I can see (using ant -verbose), a new svn.exe (or just "svn" on UNIX) is spawned for each subcommand of <svn> within one script.

Which svn command line client (of possibly several ones installed on a system) is actually invoked by svnClientAdapter depends on what's available in your PATH environment variable.

I would have thought that supplementing the path by setting java.library.path in ANT_OPTS as follows would also work, but apparently it doesn't:

set PATH=D:\Opt\Ant\bin
set ANT_OPTS=-Djava.library.path=C:\Programme\SlikSvn\bin

That's probably because java.library.path is for libraries and not for executables.

Michael
Received on 2010-11-10 19:00:40 CET

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

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