Hello
I
think there is a problem in the SharpCvsLib's way of parsing cvs roots. I
have sent an email to the sharpcvslib dev mail list detailing the problem
(reproduced at bottom of this email).
I
wanted to use a fixed version of SharpCvsLib with NAnt so I downloaded the
latest source I could find for SharpCvsLib (0.36-dev), recompiled it and
replaced the dlls in the NAnt lib folder with the new dlls. The build of
NAnt failed however.
The
version of the SharpCvsLib code I downloaded has the exception
ICSharpCode.SharpCvsLib.FileSystem.CvsFileNotFoundException whereas the code
in NAnt expects the class to be in a different namespace
(ICSharpCode.SharpCvsLib.Exceptions.CvsFileNotFoundException).
I was wondering which version of the SharpCvsLib you are using (since it
is obviously different to the one I have downloaded) - please send us a link if
possible.
Many
thanks
Chris
<description of problem
sent to '[EMAIL PROTECTED]'
>
There is problem with the cvs-pass task. It fails
when the cvs root contains a user name that has a full stop ('.') in
it.
The problem is in ICSharpCode.SharpCvsLib.Misc.CvsRoot
The regex used to validate the cvs root is public const string CVSROOT_REGEX = @":(ext|pserver|ssh|local|sspi) :((?:[\w]*@)?[\w]+(?:\.[\w|-]+)*) <---- :?((?:[\d]*)?) :((?:(?:[A-Za-z]:/)|/).[^\s]*)"; I think the line marked with the <---- should be replaced with
:((?:[\\w\\.]*@)?[\\w]+(?:\\.[\\w|-]+)*) (Note the extra \\. to allow full stops in the user
name).
From: John Wadlow [mailto:[EMAIL PROTECTED] Sent: 04 February 2005 00:29 To: Chris Fewtrell Subject: [nant-dev] cvs-pass exception when user name contains full stop Did anyone answer your question
about this? I’m running into the same
problem. Unfortunately, I’m not sure what you
mean by full stop. When I look at your message I see
this <target name="CvsLogin"
description="Logs into cvs"> The above fails whereas
this works fine... <target
name="CvsLogin" description="Logs into
cvs"> Thanks John
Wadlow ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System - for inbound mail to Granta Design Ltd. ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System - after being sent from Granta Design Ltd ______________________________________________________________________ |
- What version of SharpCvsLib does Nant use. RE: [nant-dev]... Chris Fewtrell
- RE: What version of SharpCvsLib does Nant use. RE: [... Gert Driesen
- RE: What version of SharpCvsLib does Nant use. RE: [... Clayton Harbour
- RE: What version of SharpCvsLib does Nant use. RE: [... John Wadlow