I'm using cvs 1.12.13a. Checkout isn't working, each time I add a new
project I have to check it out manually (update is fine, although rlog
spits out loads of warnings about non-existent tags). I don't
experience the first two problems... (although log level is currently
set to WARN, so maybe I just don't see them). I am running my CCNet
server on Windows XP x86, but I doubt this matters... What could
matter is that the service is running as the same administrator user
that I use (ugly solution - but hey, it works, some crazy .Net tools
failed otherwise) - but I don't recall getting those messages back
when I ran CCNet using it's own user account. %HOME% is not set.

On Thu, Dec 24, 2009 at 11:03 AM, Daniel Nauck <[email protected]> wrote:
> 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