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

RE: RE: Re: subclipse and eclipse run configuration

From: Andy Cutright <Andy.Cutright_at_borland.com>
Date: 2005-01-06 20:26:23 CET

hi,

the problem i've been investigating turns out to be a bug.
SVNClientManager.java has a private member variable
'svnClientInterface'. unfortunately, this variable is hidden by a local
variable. subsequent calls to createSVNClient fail to chose the
configured SVNClientAdapaterFactory. here's my patch, which i've tested.
i've filed a defect in the issue tracker.

Index: SVNClientManager.java
===================================================================
--- SVNClientManager.java (revision 1170)
+++ SVNClientManager.java (working copy)
@@ -58,7 +58,7 @@
         // by default, we set the svn client interface to the best
available
         // (JNI if available or command line interface)
         try {
- String svnClientInterface =
SVNClientAdapterFactory.getPreferredSVNClientType();
+ svnClientInterface =
SVNClientAdapterFactory.getPreferredSVNClientType();
         } catch (SVNClientException e) {
             throw new CoreException(new Status(Status.ERROR,
SVNProviderPlugin.ID, IStatus.OK, e
                     .getMessage(), e));

i'm not familiar with y'all's defect tracking / email system. sorry if
this is a crosspost...

cheers,
andy
Received on Fri Jan 7 06:26:23 2005

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

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