Subversion Support for NetBeans 5.5 On Mac

I’ve been trying to get the Subversion support working within NetBeans 5.5 on my Mac and have been getting the following error message when I try to access the repository:

``````NetBeans Subversion support requires Subversion executable!

Install Subversion 1.3 (http://subversion.tigris.org) or later,
test by running 'svn --version' from command line, and
After a bit of Googling, I came up with the answer. You need to edit the `NetBeans.app/Contents/Resources/NetBeans/bin/netbeans` file and add a line near the beginning to set the path to include the directory Subversion is installed to:
``````PATH=\$PATH:/usr/local/bin