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

RE: [Subclipse-users] Cannot use javahl nor command line svn client

From: Martin Letenay <mle_at_whitestein.com>
Date: 2006-06-28 16:58:34 CEST

> Markus KARG <markus.karg@quipsy.de> wrote on 06/28/2006 10:18:03 AM:
>
> > Can the svnant team please give us some hints what to check for?
> > The svn command line client actually IS accessible.
> > So what can be the reason that it is not found from the service but
> it
> > is running from batch mode?
>
> I do not think there really is an svnAnt team. This is essentially a
> client adapter issue, so I can probably help. My guess, would pretty
> good
> certainty, is that this is a PATH issue. Finding the command line is a
> pretty straightforward thing, If it can't find it, then it has to be
> PATH. That would be a potential issue for JavaHL too.
>
> I would assume that a service would inheir the system path variable for
> the machine, but I am not sure.

I just can confirm there's nothing specific in the svnant's code.
It just calls the client adapter's
SVNClientAdapterFactory.isSVNClientAvailable(javahl or cmdline).

Code excerpt:
        if ((javahl) && (isJavahlAvailable())) ...
        else if (isCommandLineAvailable()) ...
        else throw new BuildException("Cannot use javahl nor command line
svn client");

The client adapter lookup is really simple - System.loadLibrary() res.
Runtime.exec() for cmdLine.
As Mark already pointed out, at the moment I too can only suspect the PATH.

Martin
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Jun 28 16:58:59 2006

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.