I am starting a new NAnt script using the 0.85 nightly build, and I'm having trouble 
with the <cvs-update> task.

The first problem (which was actually with <cvs-checkout>) is that the built-in Sharp 
CVS library didn't recognize my cvsroot argument of ":pserver:[EMAIL 
PROTECTED]:/ext/xxx".  The error message said that userid "xxxbldr" was unknown or the 
password was wrong.  However, both cvsroot and cvspassword were the same values I had 
use successfully (cut and pasted) for NAnt 0.84 scripts.

I set the sourcecontrol.usesharpcvslib property to false and let it find cvs.exe from 
WinCvs 1.3 in my path--and it worked.

Having found a CVS that would work with 0.85, I tried <cvs-checkout>, and it worked as 
advertised.  However, checking out on top of a previous checkout resulted in a bunch 
of "move away xxx; it is in the way" messages as it should.  So, I tried doing a 
<cvs-update> with the same arguments, expecting it to quickly determine that there was 
nothing that needed updating.

Instead, I got all those "it is in the way" messages again.  Examining the output, the 
<cvs-update> log entries are prefixed with "[cvs-checkout]" labels.  It appears that 
the following:

     <cvs-update cvsroot="${cvsroot}" password="${cvspswd}" 
destination="${buildroot.parm}"
                        module="xxx" />

is really executing <cvs-checkout>

Merrill


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to