Hi Merrill, Just letting you know I got this (ISP was down for a couple of days, fixed now). I will take a look tomorrow and see what I can figure out. One thing I am curious is if you run NAnt in debug mode (nant -d) what is the path/ commandline for the cvs binary? Is it the same path as you are using in your tests?
Clayton > -----Original Message----- > From: Merrill Cornish [mailto:[EMAIL PROTECTED] > Sent: July 16, 2004 8:54 AM > To: [EMAIL PROTECTED] > Subject: [Nant-users] cvs-checkout Test Case > > > Here is a small target which should illustrate the problem > I've been having with the cvs-checkout task. Both the > cvs-checkout task and the exec task should do the same thing > using the same cvs.exe since I have > sourcecontrol.usesharpcvslib = false. Use the comment to turn > one on and the other off. > > Define the buildroot property to some temporary directory. > The name I happen to be using is C:\QATest-buildroot, but, of > course, that shouldn't make a difference. The hdt module has > the following structure: > hdt\ > ...files... > CVS\ > ...files... > DataFiles > ...files... > Documentation\ > ...subdirectories... > Installation\ > ...files and subdirectories... > Source\ > ...files and subdirectories... > > If the exec task version is run starting with an empty > buildroot directory, the hdt\CVS\Entries directory correctly > contains the following: > > /PkgBuild.cmd/1.12/Thu Jul 15 19:00:22 2004// > /PkgBuild2.cmd/1.3/Thu Jul 15 19:00:34 2004// > /dbuild.cmd/1.3/Wed Jun 23 19:50:06 2004// > /version.pl/1.3/Tue Jun 29 14:07:25 2004// > D/DataFiles//// > D/Documentation//// > D/Installation//// > D/Source//// > > Notice that the Source directory is included. However, if > the cvs-checkout task is run starting with an empty buildroot > directory, hdt\CVS\Entries contains the following: > > /PkgBuild.cmd/1.12/Thu Jul 15 19:00:22 2004// > /PkgBuild2.cmd/1.3/Thu Jul 15 19:00:34 2004// > /dbuild.cmd/1.3/Wed Jun 23 19:50:06 2004// > /version.pl/1.3/Tue Jun 29 14:07:25 2004// > D > > Notice that it seems to have missed ALL of the > subdirectories, although those subdirectories were created > and apparently correctly populated from the repository. In > other cases, it seems to get all subdirectories except Source > (which, of course, is the one I'm really interested in). > > On a positive note, cvs-checkout's quite attribute can now > (as of the 7/16/2004 build) co-exist with the readonly attribute. :-) > > Merrill > > ------------------------------- cut here > ----------------------------------------- > <target name="co"> > <delete dir="${buildroot}" failonerror="false" /> > <mkdir dir="${buildroot}" /> > <!-- > <cvs-checkout cvsroot="${cvsroot}" > password="${cvspswd}" > module="hdt" > destination="${buildroot}" > readonly="true" > quiet="true" > /> > --> > <exec program="cvs.exe" > workingdir="${buildroot}" > commandline="-d ${cvsroot} -r -q checkout " /> > > </target> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users