This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 102422 - SVN Command Failed - does not recognize subversion client
Summary: SVN Command Failed - does not recognize subversion client
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
: 103436 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-25 03:06 UTC by rthornett
Modified: 2007-05-10 09:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rthornett 2007-04-25 03:06:04 UTC
Am running the following Netbeans 6.0 build:

NetBeans IDE Dev (Build 200703280911)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.9 running on i386
en_US (nb); MacRoman

When I try to do anything subversion related (like checkout a project), I keep
getting the "SVN Command Failed" dialog telling me that subversion 1.3 or higher
must be installed on my system.  I have the following version installed

svn, version 1.4.3 (r23084)
   compiled Apr 23 2007, 21:31:41

which should meet the requirement. Additionally, svn is on my path but Netbeans
doesn't seem to recognize it. I've also manually specified the location of the
svn client using the input provided in the dialog.  I'm on a Mac and that
location is

/sw/bin/svn

I've restarted many times after setting this value, so that's not the issue.

Let me know if I can provide further info, thanks for you help.
Comment 1 Tomas Stupka 2007-04-25 08:20:42 UTC
if nothing else, we should at least change the text in the dialog, i guess.

how did you specify the path?
like 
/sw/bin/svn 
or
/sw/bin 

the given value is interpreted as the path to the executable, so if svn in
/sw/bin/svn is already the binary, then the correct value would be /sw/bin 

Comment 2 Peter Pis 2007-04-25 08:41:55 UTC
Please make sure that svn executable is set correctly ( "Tools | Options ->
Miscellaneous -> Subversion -> SVN executable path:") Also don't forget to
restart IDE.
Comment 3 rthornett 2007-04-25 14:51:54 UTC
tstupka - thanks for the feedback, changing the path to NOT include the svn
executable itself solved the problem.  (I originally entered /sw/bin/svn,
changing to /sw/bin did the trick.) 

Please do consider changing the language in the dialog (as you mentioned) - it
asks for the path to the executable, which is svn.  The dialog also implies that
if svn is already on your path, Netbeans should pick it up automatically.  In
this case, it did not. (This seems like a bug to me - was it supposed to find
svn?)  The fact that it didn't implies that it needs the full path since it
couldn't find the executable in the base directory on my path.
Comment 4 Tomas Stupka 2007-04-25 19:26:24 UTC
> Please do consider changing the language in the dialog (as you mentioned) - it
> asks for the path to the executable, which is svn.
i have filed a new issue 102537

> The dialog also implies that if svn is already on your path, 
> Netbeans should pick it up automatically. >
Usually this works automatically - for more information see also
http://wiki.netbeans.org/wiki/view/FaqSubversionMissingClient

Comment 5 Tomas Stupka 2007-05-10 09:37:45 UTC
*** Issue 103436 has been marked as a duplicate of this issue. ***