Hi Pierre, Just dropping a quick note to say thanks for the error report on the cvsroot issue, I think you are correct about the "-" being misunderstood.
On the second issue the program is searching for a .cvspass file which holds your cvsroot and a hashed password for the pserver protocol. Not finding this file should not throw an exception so this is a bug as well. I will try to get these fixed and checked in tonight. Cheers, Clayton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: September 29, 2004 7:56 AM > To: Clayton Harbour; [EMAIL PROTECTED] > Subject: RE: [Nant-users] cvs-checkout task problem > > > > Hi Clayton, > > a fake cvsroot that reproduces the problem is : > cvsroot=":pserver:[EMAIL PROTECTED]:/home/xxx/CVSDIR" > > By doing some tries, I think the "-" is misunderstood. > > However, I try on a host without "-" symbol, and I got this > message : [cvs-checkout] [Console.ConsoleMain:Exception: > System.ArgumentNullException [cvs-checkout] Message: Value > cannot be null. [cvs-checkout] Parameter name: fileName > [cvs-checkout] Source: mscorlib > [cvs-checkout] at System.IO.FileInfo..ctor(String fileName) > [cvs-checkout] at > ICSharpCode.SharpCvsLib.Console.Commands.LoginCommand.ReadPass > word(String > fullPath) > [cvs-checkout] at > ICSharpCode.SharpCvsLib.Console.Commands.LoginCommand.GetPassword() > [cvs-checkout] at > ICSharpCode.SharpCvsLib.Console.Commands.LoginCommand.Execute() > [cvs-checkout] at > ICSharpCode.SharpCvsLib.Console.ConsoleMain.GetPassword(Comman > dLineParser > parser, WorkingDirectory workingDir) > [cvs-checkout] at > ICSharpCode.SharpCvsLib.Console.ConsoleMain.DoExecute > () > [cvs-checkout] at > ICSharpCode.SharpCvsLib.Console.ConsoleMain.Execute() > [cvs-checkout] - [] <(null)>] > [cvs-checkout] Something very bad has happened. > > as if it tries to read the password from a file. > > Hope this will help, > > Pierre. > > > > > |---------+------------------------------> > | | [EMAIL PROTECTED]| > | | adicism.com | > | | | > | | 29/09/04 16:27 | > | | | > |---------+------------------------------> > > >------------------------------------------------------------- > -----------------------------------------------------------------| > | > | > | To: Pierre THOREY/ress/fr/[EMAIL PROTECTED], > [EMAIL PROTECTED] > | > | cc: > | > | Subject: RE: [Nant-users] cvs-checkout task > problem > | > > >------------------------------------------------------------- > -----------------------------------------------------------------| > > > > > Hi Pierre, > > It appears that there is an issue parsing your cvsroot. > Would you be able to send me the value substituted in for > your cvsroot by adding something like: > <echo > message=":pserver:[EMAIL PROTECTED]:${cvs.repositorydir}"/> > > And I will file a bug report with SharpCVSLib. > > > Thanks, > > > Clayton > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: September 29, 2004 4:45 AM > > To: [EMAIL PROTECTED] > > Subject: [Nant-users] cvs-checkout task problem > > > > > > Hi, > > > > I was using nant-0.84 for a long time. > > In my build.xml, I have something like this : > > > > <cvs-checkout > > destination="${nightly.root}" > > cvsroot=":pserver:[EMAIL PROTECTED]: > > ${cvs.repositorydir}" > > password="${cvs.password}" > > module="${cvs.module}" > > verbose="false" /> > > > > And this worked with the old nant version. > > > > I downloaded nant-0.85 latest built 2004-09-28-0.85 . > > When I launched the same task, I got this message : > > > > [cvs-checkout] [Console.ConsoleMain:Exception: > > ICSharpCode.SharpCvsLib.Misc.CvsRootParseException > > [cvs-checkout] Message: Protocol must contain a value. > [cvs-checkout] > > Source: ICSharpCode.SharpCvsLib > > [cvs-checkout] at > > ICSharpCode.SharpCvsLib.Misc.CvsRoot.AssertNotEmpty(String > > value, String > > fieldName) > > [cvs-checkout] at > > ICSharpCode.SharpCvsLib.Misc.CvsRoot.set_Protocol(String value) > > [cvs-checkout] at > ICSharpCode.SharpCvsLib.Misc.CvsRoot.Parse(String > > cvsRoot) > > [cvs-checkout] at > ICSharpCode.SharpCvsLib.Misc.CvsRoot..ctor(String > > cvsRoot) > > [cvs-checkout] at > > ICSharpCode.SharpCvsLib.Console.Parser.CommandLineParser.Execute() > > [cvs-checkout] at > > ICSharpCode.SharpCvsLib.Console.ConsoleMain.DoExecute > > () > > [cvs-checkout] at > > ICSharpCode.SharpCvsLib.Console.ConsoleMain.Execute() > > [cvs-checkout] - [] <(null)>] > > [cvs-checkout] Something very bad has happened. > > > > > > Then after having read some messages on this mailing list, I tried : > > <cvs-checkout > > destination="${nightly.root}" > > cvsroot=":pserver:[EMAIL PROTECTED]: > > ${cvs.repositorydir}" > > password="${cvs.password}" > > module="${cvs.module}" > > usesharpcvslib="false" > > cvsfullpath="C:\nant_test\cvs.exe > > verbose="false" /> > > And this works only in the case I'm already connected on the > > repository i.e. it seems that with usesharpcvslib="false" > the password > > argument has no effect. ( I think it's because cvs command > line does > > not take password as an argument) > > > > However, is there a solution ... the build server is not > permanently > > connected on the repository, then I need to specify the password > > value. And why Sharpcvslib does not work ? ( Have I another > parameter > > to set ?) > > > > thanks and best regards, > > > > Pierre. > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on > > ITManagersJournal Use IT products in your business? Tell us > what you > > think of them. Give us Your Opinions, Get Free ThinkGeek Gift > > Certificates! Click to find out more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Nant-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/nant-users > > > > > > > > > > ****************************************************************** > The sender's email address has changed to firstname.lastname@ > sgcib.com. You may want to update your personal address book. > Please see http://www.sgcib.com for more information. > ** > This message and any attachments (the "message") are > confidential and intended solely for the addressee(s). Any > unauthorised use or dissemination is prohibited. E-mails are > susceptible to alteration.Neither SOCIETE GENERALE nor any of > its subsidiaries or affiliates shall be liable for the > message if altered, changed or falsified. > *************** > L'adresse mail de votre correspondant a change en > prenom.nom@ sgcib.com.Il est recommande de mettre a jour > votre carnet d'adresses personnel.Pour plus d'informations, > aller sur http://www.sgcib.com > ** > Ce message et toutes les pieces jointes (ci-apres le > "message") sont confidentiels et etablis a l'intention > exclusive de ses destinataires. Toute utilisation ou > diffusion non autorisee est interdite. Tout message > electronique est susceptible d'alteration.La SOCIETE GENERALE > et ses filiales declinent toute responsabilite au titre de ce > message s'il a ete altere, modifie ou falsifie. > ****************************************************************** > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users