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.





******************************************************************
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

Reply via email to