Hi,

i've to add an old project using cvs to my build server and got a lot of
problems with cvs on windows server 2008.
I wonder if anybody else got cvs with ccnet ever working. I'm using the
official windows builds: 1.11.22 and/or 1.12.13a

1. problem: "cvs.exe [rlog aborted]: could not find out home directory"

CCNet does currently not set the %HOME% environment variable on windows.
The result is this error message.

A solution found in some FAQs:
"If you are working in Windows you must set %HOME% variable. Type the
command, `set HOME=D:\CVS\MYPROJECT', at a shell prompt, or add this
line to your environment settings available via right clicking "My
Computer" and selecting "Properties". Once set, the `.cvspass' file will
be stored in directory %HOME%."


Possible solution for CCNet:
Set the %HOME% variable on windows to the project's artifact folder.

Workaround:
Use a bat file that set the variable and calls then cvs.exe


How do you fixed this problem?


=======================================================

2. problem: cvs.exe cannot find ".cvspass"

The only solution i found was to create a empty textfile by hand in the
%HOME% directory.

Any other solutions?

=======================================================

3. problem: cvs.exe checkout: cannot open CVS/Entries for reading: No
such file or directory

This happens on the checkout command:

e.g.: cvs.bat -d :pserver:[email protected]:/cvsroot/npgsql -q
checkout -R -P -r HEAD -d D:\Build\Projects\Npgsql2\SCM\ Npgsql2

CCNet uses as checkout directory the absolute path of the working
directory. This is a known bug/limitation of cvs. Only relative paths
are working.

Possible solution for CCNet:

Execute cvs in the parent folder of the working directory and let the
"-d" parameter only be a relative path name.

e.g.: cvs.bat -d :pserver:[email protected]:/cvsroot/npgsql -q
checkout -R -P -r HEAD -d SCM\ Npgsql2


How do you get the checkout with ccnet working?

Reply via email to