Sunday Jul 01, 2007

Netbeans 6.0 Milestone 10 is released today! The release was delayed from original schedule last week. At the moment, some of the links on Netbeans website still point to M9 download. You can get M10 from HERE,

There are quite a few improvements and fixes on this release. The ones that caught my immediate attentions are Ruby RHTML debugging and REST Web services support. You can get to the full list of fixes and new features here.

Sunday Jun 03, 2007

If you try to use subversion feature of Netbeans 5.5.1, you may encounter this error message:

"NetBeans Subversion support requires Subversion executable!

Install Subversion 1.3 (
http://subversion.tigris.org
) or later,
add it to PATH,
test by running 'svn --version' from command line, and
finally restart the IDE, please."

Here's the fix:

  1. Make sure that you downloaded and install subversion client on your machine.
  2. By default, subversion client will be installed to "usr/local/bin" folder on UNIX and Mac OS X machines and "C:\Program Files\Subversion\bin" for Windows.
  3. Add directory path to subversion executable to your PATH variable. This blog entry of Brook Andrus gives excellent instruction on how to do so.
  4. Double check to see that you set up your PATH right. Enter "echo $PATH" on Terminal, if you did it correctly, the output message will contain your path (":/usr/local/bin:") to subversion executable.
  5. Download and install Netbeans subversion module from Netbeans Update Center
  6. Restart the IDE

At this point, your Netbeans should be able to detect subversion client. However, if Netbeans still complains about missing subversion client, you will need to point Netbeans to the right directory.
From Netbeans Wiki:

in Netbeans 5.5 there is a commandline switch for pointing to the subversion executable.
switch for svn executable
"-J-Dsubversion.path=/path/to/subversion/bin"
For example:
-J-Dsubversion.path="C:\Program Files\Subversion\bin"}} - path contains white spaces therefore quotes are necessary.

If you want to make sure that this info is saved for the future, edit Netbeans config file.

  1. Go to Netbeans home directory and locate the file netbeans.config
  2. Open up the config file and locate "netbeans_default_options=..." variable. then add "-J-Dsubversion.path=/path/to/subversion/bin" to the variable
  3. Restart the IDE

Special thanks to Tomas Stupka for pointing out the useful link


 

This blog copyright 2009 by teera