Wednesday, August 13, 2008

NetBeans IDE 6.5 Beta - Auto Download for Subversion Client 1.5 in Windows

NetBeans IDE 6.5 Beta no longer needs Subversion client installed on Windows XP machine. I got this information in the New and Noteworthy page and since then was excited to try out the NetBeans downloading feature of the Subversion Client 1.5 for Windows from the Update Center.

When you do not have Subversion client installed...

After creating a sample application and choosing the Import into Subversion repository... option, NetBeans IDE 6.5 Beta now shows a dialog box indicating that it could not find Subversion client installed and offers two ways to proceed.

NetBeans IDE 6.5 Beta Offers bundled client

Either choose to download the bundled Subversion 1.5 binaries for Windows from the Update Center or Install the SVN 1.5 Command Line client. It also recommends to choose the first bundled option.

After choosing the bundled Subversion option it shows the license agreement for downloading and installing the bundled Subversion Client.

Accepting the license starts the download in the background. We can see the progress of the download in the status bar of the IDE.

It installs the component smoothly and then asks to restart the IDE. Clicking the restart button makes the IDE shut down and start again. This time before the splash screen it shows an Update banner for some time and then the usual Splash screen.

We still need to create our own repository if we want to keep the project in local repository. If we have a remote Subversion server than we can directly use the server. The point is now NetBeans IDE 6.5 Beta is ready to work with Subversion repositories.

We will choose a local already created repository (through TortoiseSVN) for this example.

Rest all the dialog boxes for showing the list of files to be committed and asking the commit comment will be shown and the files will be committed to the Subversion repository.

Here we can see the project successfully committed to the local subversion repository. NetBeans IDE 6.5 Beta has taken a good step by providing the bundled Subversion client which makes installation and use of Subversion even more easier now.

with regards
Tushar Joshi, Nagpur


  1. That was a very nice article. Thanks for posting your blog to the JUG leaders list. I added it to my blog list. I also blog on Java, Glassfish, Woodstock, and Netbeans topics. Check out my blog.

  2. is there anyway to get SVN 1.5 working in netbeans on a mac.

    Can netbeans use an external SVN command line tool ?

  3. For creating a local repository what are the tools i need.

  4. I had this error - "Expected fs format between ‘1’ and ‘3’; found format ‘4’". So to do the steps provided in this blog, I uninstalled the svn client from my machine. But now when i go the netbeans - it never shows me the option to download the bundled svn rather shows the diolag asking for repository path. Can I get some help here? Thanks in advance.