You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ian Neruda <ia...@yahoo.com> on 2004/05/25 09:40:00 UTC

CVS connection string

Hi!
I try to connect to cvs respository using 
scm|cvs|ntserver|username|password@host|d:\cvs_repository\dir1|moduleName

but I get the following error:
java.lang.IllegalArgumentException: repository
connection string contains more than six tokens

Am I using wrong connection string?

I'm using Maven1.0-rc3.

Any help appreciated,
Ian


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: CVS connection string

Posted by Dion Gillard <di...@gmail.com>.
ntserver is a valid protocol for cvsnt.

On Tue, 25 May 2004 15:45:40 +0800, Niclas Hedhman <ni...@hedhman.org> wrote:
> 
> On Tuesday 25 May 2004 15:40, Ian Neruda wrote:
> > Hi!
> > I try to connect to cvs respository using
> > scm|cvs|ntserver|username|password@host|d:\cvs_repository\dir1|moduleName
>           ^^^^^^^^
> seven characters.
> 
> I have never heard of ntserver as an CVS protocol. Sure you don't mean
> pserver?
> 
> Niclas
> --
>    +------//-------------------+
>   / http://www.bali.ac        /
>  / http://niclas.hedhman.org /
> +------//-------------------+
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: CVS connection string

Posted by Niclas Hedhman <ni...@hedhman.org>.
Disregard!!!!
I can't read !  :o(

Niclas

On Tuesday 25 May 2004 15:45, Niclas Hedhman wrote:
> On Tuesday 25 May 2004 15:40, Ian Neruda wrote:
> > Hi!
> > I try to connect to cvs respository using
> > scm|cvs|ntserver|username|password@host|d:\cvs_repository\dir1|moduleName
>
>           ^^^^^^^^
> seven characters.
>
> I have never heard of ntserver as an CVS protocol. Sure you don't mean
> pserver?
>
> Niclas

-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: CVS connection string

Posted by Ian Neruda <ia...@yahoo.com>.
> > scm|cvs|ntserver|user@server|e:\cvs|Deployment
> > Note the use of the vertical bar as delimiter as
> the
> > repository has a colon (:) in it.
> > -----------------
> >
> > Before that I tried with pserver, but I get the
> same mistake.
> 
> The complaint comes from the fact that there are two
> many 'groups' (separated 
> by '|' ).
> 
> I think your problem would then be the "password"
> part.
> 
> I don't know if passwords are supported in the
> connect string or not, but if 
> they are it is probably a different delimiting
> character.
> 
> Cheers
> Niclas
> 
I tried with 
scm|cvs|pserver|username:password@host|d:\cvs_repository\dir1|moduleName

and I get another error:
java.io.IOException: CreateProcess: cvs
-d:pserver:razvoj:ipccipcc2@frodo:d:\cvs
_repository\razvoj -q checkout -P SedamIT error=2

com.werken.werkz.UnattainableGoalException: Unable to
obtain goal [scm:checkout-project] --
E:\unzip\Maven1.0-rc3\.maven\plugins\maven-scm-plugin-1.3\plugin.jelly:227:9:
<ant:cvs> java.io.IOException: CreateProcess: cvs
-d:pserver:username:password@host:d:\cvs_repository\dir1
-q checkout -P moduleName error=2

I executed generated command from command prompt and
it works. Command is:
cvs
-d:pserver:username:password@host:d:\cvs_repository\dir1
-q checkout -P moduleName


I read panegyrics about Maven, and believed them just
to have trobule with simple things like reading data
from cvs. I've done this with ant five minutes after
extracting its archive.




	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: CVS connection string

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 25 May 2004 15:58, Ian Neruda wrote:

> scm|cvs|ntserver|user@server|e:\cvs|Deployment
> Note the use of the vertical bar as delimiter as the
> repository has a colon (:) in it.
> -----------------
>
> Before that I tried with pserver, but I get the same mistake.

The complaint comes from the fact that there are two many 'groups' (separated 
by '|' ).

I think your problem would then be the "password" part.

I don't know if passwords are supported in the connect string or not, but if 
they are it is probably a different delimiting character.

Cheers
Niclas

-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: CVS connection string

Posted by Ian Neruda <ia...@yahoo.com>.
--- Niclas Hedhman <ni...@hedhman.org> wrote:
> On Tuesday 25 May 2004 15:40, Ian Neruda wrote:
> > Hi!
> > I try to connect to cvs respository using
> >
>
scm|cvs|ntserver|username|password@host|d:\cvs_repository\dir1|moduleName
>           ^^^^^^^^
> seven characters.
> 
> I have never heard of ntserver as an CVS protocol.
> Sure you don't mean 
> pserver?

I found this at:
http://maven.apache.org/reference/project-descriptor.html
-----------------
Some cvs clients support other protocols, such as
ntserver and extssh. Here's an example using CVS NT
and ntserver: 

scm|cvs|ntserver|user@server|e:\cvs|Deployment
Note the use of the vertical bar as delimiter as the
repository has a colon (:) in it. 
-----------------

Before that I tried with pserver, but I get the same mistake.


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: CVS connection string

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Tuesday 25 May 2004 15:40, Ian Neruda wrote:
> Hi!
> I try to connect to cvs respository using
> scm|cvs|ntserver|username|password@host|d:\cvs_repository\dir1|moduleName
          ^^^^^^^^
seven characters.

I have never heard of ntserver as an CVS protocol. Sure you don't mean 
pserver?

Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org