Wednesday, November 14, 2007

Connect NetBeans 6 Betas to local CVS repositories

As a continuation to my previous post, things seem to have changed in
NetBeans 6 for the CVS client from the Milestones to Betas. No problem,
we can still make this work. Funny thing is, it's now closer to the
Eclipse setup I had to do :)

Anyways, follow all the steps from my previous post through step 4;
we'll be making a change to step 5.

First create a file called cvswrap.bat. All it needs to contain is the

@echo off
setlocal enableextensions enabledelayedexpansion
%COMSPEC% /c %CVS_EXE% server

From now on we won't be using the :local: connection method anymore to
connect to CVS, we'll be using :ext:. Basically, your CVS Root should
look something like:


username can be anything you like since it wont be passed to CVS
anyways. In the Checkout dialog the only other thing left is to have
NetBeans use an External Shell. Just put in the location of your
cvswrap.bat file and you're on your way.