You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by ph...@mmm.com on 2005/12/06 13:36:52 UTC

windows client to windows server cvs connection: wrong cvsroot value?

Hi,

I still have a problem in connecting from windows XP client to windows CVS 
server using cvsnt.
I checked in faqs, documentation and mailing-lists, but still I'm missing 
something.

This is the  entry in registry for cvspass variable:
:pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource

This was put in the reg by running

C:\Documents and Settings\myusername>cvs -d 
:pserver:myusername@mycvsserver:D:\dept\P-ITSource login
Logging in to :pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource
CVS password: ********

The scm url in my project.xml is the following:

 <repository>
 
<connection>scm|cvs|pserver|myusername@mycvsserver|D:\dept\P-ITSource|testMaven</connection>
  </repository>

However, in the continuum.log I see this:

     cvsRoot: :pserver:myusername@mycvsserver:2401D:\dept\P-ITSource
890622 [Thread-1] DEBUG org.apache.maven.scm.manager.ScmManager  - 
passFile: C:\Documents and Settings\myusername\.cvspass

I noticed there is no colon (and no pipe either) present anymore in the 
cvsroot variable between 2401 and D

So I tried manually :

C:\Documents and Settings\myusername>cvs -d 
:pserver:myusername@mycvsserver:2401D:\dept\P-ITSource login
Logging in to :pserver:myusername@mycvsserver:2401:\dept\P-ITSource
CVS password: ********
cvs [login aborted]: \dept\P-ITSource: no such repository

Could this be the error, or is it normal that this colon between 2401 and 
D is missing in cvsroot in continuum.log?

Thanks a lot in advance,
Peter

Re: windows client to windows server cvs connection: wrong cvsroot value?

Posted by Baz <br...@gmail.com>.
On 12/6/05, phertogen@mmm.com <ph...@mmm.com> wrote:
> This is the  entry in registry for cvspass variable:
> :pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource
>

URLs use forward slashes, not backslashes. Using backslashes can have
unexpected effects since they're escape characters in a lot of the
unix-oriented tools.

However, more to the point, on CVSNT you generally don't include the
drive in the CVS connection string, since, as you've spotted, it
causes the number of colons to be wrong. There's a workaround for this
- look in the cvsnt docs for "repository prefix". Its a server setting
that prepends the windows drive info to the client's connection
string. In your case, you could set the repository prefix (on the
server) to 'D:/dept' and use the connection string:

:pserver:myusername@mycvsserver:2401:P-ITSource

... or something like that. You should be able to test this out with
the cvsnt command line client (ie cvs login).

Hope this helps
Baz

Re: windows client to windows server cvs connection: wrong cvsroot value?

Posted by Emmanuel Venisse <em...@venisse.net>.
cygwin + cvs

phertogen@mmm.com a écrit :
> OK, thanks Emmanuel. 
> 
> I would be happy to use another cvs client than cvsnt, but on the server 
> side I don't have a choice (corporate env.). 
> 
> Problem is that on windozs all the clients I found so far are based on 
> cvsnt. 
> 
> And I can't find a windows binary of the opencvs that I normally use in 
> linux environment.
> 
> Is there a better (= more standard) cvs client for windows?
> 
> tx,
> Peter
> 
> 
> 
> 
> 
> Emmanuel Venisse <em...@venisse.net> 
> 06/12/2005 14:47
> Please respond to
> continuum-users@maven.apache.org
> 
> 
> To
> continuum-users@maven.apache.org
> cc
> 
> Subject
> Re: windows client to windows server cvs connection: wrong cvsroot value?
> 
> 
> 
> 
> 
> 
> arrrg, bad cvsnt.
> 
> It's an other standard that cvsnt doesn't respect. File an issue and i'll 
> try to find a solution.
> 
> Emmanuel
> 
> phertogen@mmm.com a écrit :
> 
>>Hi,
>>
>>I still have a problem in connecting from windows XP client to windows 
> 
> CVS 
> 
>>server using cvsnt.
>>I checked in faqs, documentation and mailing-lists, but still I'm 
> 
> missing 
> 
>>something.
>>
>>This is the  entry in registry for cvspass variable:
>>:pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource
>>
>>This was put in the reg by running
>>
>>C:\Documents and Settings\myusername>cvs -d 
>>:pserver:myusername@mycvsserver:D:\dept\P-ITSource login
>>Logging in to :pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource
>>CVS password: ********
>>
>>The scm url in my project.xml is the following:
>>
>> <repository>
>>
>>
> <connection>scm|cvs|pserver|myusername@mycvsserver|D:\dept\P-ITSource|testMaven</connection>
> 
>>  </repository>
>>
>>However, in the continuum.log I see this:
>>
>>     cvsRoot: :pserver:myusername@mycvsserver:2401D:\dept\P-ITSource
>>890622 [Thread-1] DEBUG org.apache.maven.scm.manager.ScmManager  - 
>>passFile: C:\Documents and Settings\myusername\.cvspass
>>
>>I noticed there is no colon (and no pipe either) present anymore in the 
>>cvsroot variable between 2401 and D
>>
>>So I tried manually :
>>
>>C:\Documents and Settings\myusername>cvs -d 
>>:pserver:myusername@mycvsserver:2401D:\dept\P-ITSource login
>>Logging in to :pserver:myusername@mycvsserver:2401:\dept\P-ITSource
>>CVS password: ********
>>cvs [login aborted]: \dept\P-ITSource: no such repository
>>
>>Could this be the error, or is it normal that this colon between 2401 
> 
> and 
> 
>>D is missing in cvsroot in continuum.log?
>>
>>Thanks a lot in advance,
>>Peter
> 
> 
> 
> 


Re: windows client to windows server cvs connection: wrong cvsroot value?

Posted by ph...@mmm.com.
OK, thanks Emmanuel. 

I would be happy to use another cvs client than cvsnt, but on the server 
side I don't have a choice (corporate env.). 

Problem is that on windozs all the clients I found so far are based on 
cvsnt. 

And I can't find a windows binary of the opencvs that I normally use in 
linux environment.

Is there a better (= more standard) cvs client for windows?

tx,
Peter





Emmanuel Venisse <em...@venisse.net> 
06/12/2005 14:47
Please respond to
continuum-users@maven.apache.org


To
continuum-users@maven.apache.org
cc

Subject
Re: windows client to windows server cvs connection: wrong cvsroot value?






arrrg, bad cvsnt.

It's an other standard that cvsnt doesn't respect. File an issue and i'll 
try to find a solution.

Emmanuel

phertogen@mmm.com a écrit :
> Hi,
> 
> I still have a problem in connecting from windows XP client to windows 
CVS 
> server using cvsnt.
> I checked in faqs, documentation and mailing-lists, but still I'm 
missing 
> something.
> 
> This is the  entry in registry for cvspass variable:
> :pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource
> 
> This was put in the reg by running
> 
> C:\Documents and Settings\myusername>cvs -d 
> :pserver:myusername@mycvsserver:D:\dept\P-ITSource login
> Logging in to :pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource
> CVS password: ********
> 
> The scm url in my project.xml is the following:
> 
>  <repository>
> 
> 
<connection>scm|cvs|pserver|myusername@mycvsserver|D:\dept\P-ITSource|testMaven</connection>
>   </repository>
> 
> However, in the continuum.log I see this:
> 
>      cvsRoot: :pserver:myusername@mycvsserver:2401D:\dept\P-ITSource
> 890622 [Thread-1] DEBUG org.apache.maven.scm.manager.ScmManager  - 
> passFile: C:\Documents and Settings\myusername\.cvspass
> 
> I noticed there is no colon (and no pipe either) present anymore in the 
> cvsroot variable between 2401 and D
> 
> So I tried manually :
> 
> C:\Documents and Settings\myusername>cvs -d 
> :pserver:myusername@mycvsserver:2401D:\dept\P-ITSource login
> Logging in to :pserver:myusername@mycvsserver:2401:\dept\P-ITSource
> CVS password: ********
> cvs [login aborted]: \dept\P-ITSource: no such repository
> 
> Could this be the error, or is it normal that this colon between 2401 
and 
> D is missing in cvsroot in continuum.log?
> 
> Thanks a lot in advance,
> Peter



Re: windows client to windows server cvs connection: wrong cvsroot value?

Posted by Emmanuel Venisse <em...@venisse.net>.
arrrg, bad cvsnt.

It's an other standard that cvsnt doesn't respect. File an issue and i'll try to find a solution.

Emmanuel

phertogen@mmm.com a écrit :
> Hi,
> 
> I still have a problem in connecting from windows XP client to windows CVS 
> server using cvsnt.
> I checked in faqs, documentation and mailing-lists, but still I'm missing 
> something.
> 
> This is the  entry in registry for cvspass variable:
> :pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource
> 
> This was put in the reg by running
> 
> C:\Documents and Settings\myusername>cvs -d 
> :pserver:myusername@mycvsserver:D:\dept\P-ITSource login
> Logging in to :pserver:myusername@mycvsserver:2401:D:\dept\P-ITSource
> CVS password: ********
> 
> The scm url in my project.xml is the following:
> 
>  <repository>
>  
> <connection>scm|cvs|pserver|myusername@mycvsserver|D:\dept\P-ITSource|testMaven</connection>
>   </repository>
> 
> However, in the continuum.log I see this:
> 
>      cvsRoot: :pserver:myusername@mycvsserver:2401D:\dept\P-ITSource
> 890622 [Thread-1] DEBUG org.apache.maven.scm.manager.ScmManager  - 
> passFile: C:\Documents and Settings\myusername\.cvspass
> 
> I noticed there is no colon (and no pipe either) present anymore in the 
> cvsroot variable between 2401 and D
> 
> So I tried manually :
> 
> C:\Documents and Settings\myusername>cvs -d 
> :pserver:myusername@mycvsserver:2401D:\dept\P-ITSource login
> Logging in to :pserver:myusername@mycvsserver:2401:\dept\P-ITSource
> CVS password: ********
> cvs [login aborted]: \dept\P-ITSource: no such repository
> 
> Could this be the error, or is it normal that this colon between 2401 and 
> D is missing in cvsroot in continuum.log?
> 
> Thanks a lot in advance,
> Peter