Search code examples
macossvnnetbeansnetbeans-9

netbeans 9 - svn support broken on macOs?


The backdrop story

On macOs I have always depended on svnKit for SVN support in netbeans, as it just works out of the box even without svn installed. However as of Netbeans 9, svnKit support is broken with no intention to fix - see NETBEANS-1302:

... svnkit integration has been disabled, because some parts of it are under licenses that are not allowed in an ASF project ...

So I need to fallback to installed CLI versions.

My Problem

However after installing SVN (subversion.apache.org), I still get the dialog box with "SVN Command Failed" asking me to install or point to an already installed version.

I have it installed two different ways, the apple developer command line tools (svn 1.10.0), and through brew (svn 1.10.2).

I point netbeans to either /usr/bin or /usr/local/bin - but it fails to pick up the already installed svn cli.

Anything I am doing wrong? It must be working because I am referred to it by others? Or maybe only broken on macOs?

Note: this question is not about SvnKit support being broken: It is known that SvnKit is broken, and there is no intent to fix. So any question about SvnKit support in Netbeans 9 is right now pointless. The question is about integration with a true SVN client - I am not able to get that to work either on macOS.


Solution

  • The problem is the SVN version. Netbeans 9 does not support it (see NETBEANS-771...) There is a patch of org-netbeans-modules-subversion.jar in that thread that supposedly fixes the issue.