Hi Swati, The sharpcvslib does not support ntserver protocol. You will want to add the attribute usesharpcvslib="false" to use your default cvs binary.
<cvs-checkout destination="${CVSCheckout}" cvsroot=":ntserver:nilgiri:g:\cvs" module="project/studios/integratorStudio" usesharpcvslib="false"> </cvs-checkout> You can specify a path to this binary if it does not exist in your environment path. Cheers, Clayton > -----Original Message----- > From: Swati Bali [mailto:[EMAIL PROTECTED] > Sent: November 30, 2004 9:52 PM > To: [EMAIL PROTECTED] > Subject: [nant-dev] ArgumentException while using cvs-checkout > > > Hi, > > I have included the following command in my nant build file > > <cvs-checkout destination="${CVSCheckout}" > cvsroot=":ntserver:nilgiri:g:\cvs" > module="project/studios/integratorStudio" > > </cvs-checkout> > > While execution getting the following exception on the console > > System.ArgumentException: no username given > at ICSharpCode.SharpCvsLib.Misc.CvsRoot..ctor(String cvsroot) > at NAnt.SourceControl.Tasks.AbstractCvsTask.ExecuteTask() > at NAnt.Core.Task.Execute() > at NAnt.Core.Target.Execute() > at NAnt.Core.Project.Execute(String targetName, Boolean > forceDependencies) > at NAnt.Core.Project.Execute() > at NAnt.Core.Project.Run() > > Please help asap. > > Regards, > Swati > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. Discover which products truly live up to the > hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > nant-developers mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-developers > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers