You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tim Chen <tc...@tampabay.rr.com> on 2004/02/03 21:02:35 UTC

CVS NT Repo

Stupid CVS NT Repos have connection strings such as:

chengt@xxx.cvs.net:d:/CVSREPO

This causes report errors:
BUILD FAILED
File...... file:/C:/Documents and 
Settings/chengt/.maven/plugins/maven-multiproject-plugin-1.1/
Element... maven:reactor
Line...... 69
Column.... 7
Unable to obtain goal [site] -- file:/C:/Documents and 
Settings/chengt/.maven/plugins/maven-xdoc-plugin-1.4/:399:9: 
<velocity:merge> Invocation of method 'getCvsRoot' in  class 
org.apache.maven.project.Repository threw exception class 
java.lang.IllegalArgumentException : repository connection string 
contains more than six tokens
Total time: 23 seconds
Finished at: Tue Feb 03 14:55:30 EST 2004

Anyone have a way around this? Anyone using cvs nt?
-Tim


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


Re: CVS NT Repo

Posted by Gilles Dodinet <rh...@free.fr>.
Tim,

if  im not wrong you can use any character you  want for the delimiter 
character (This is from Repository.java :  String delimiter = "" + 
connection.charAt(3); -  I just gave it a quick look because i remember 
ever seeing '|' as the delimiter).  Also can using a prefix solve your 
problem ? (never tried it)

-- gd

Tim Chen wrote:

> Stupid CVS NT Repos have connection strings such as:
>
> chengt@xxx.cvs.net:d:/CVSREPO
>
> This causes report errors:
> BUILD FAILED
> File...... file:/C:/Documents and 
> Settings/chengt/.maven/plugins/maven-multiproject-plugin-1.1/
> Element... maven:reactor
> Line...... 69
> Column.... 7
> Unable to obtain goal [site] -- file:/C:/Documents and 
> Settings/chengt/.maven/plugins/maven-xdoc-plugin-1.4/:399:9: 
> <velocity:merge> Invocation of method 'getCvsRoot' in  class 
> org.apache.maven.project.Repository threw exception class 
> java.lang.IllegalArgumentException : repository connection string 
> contains more than six tokens
> Total time: 23 seconds
> Finished at: Tue Feb 03 14:55:30 EST 2004
>
> Anyone have a way around this? Anyone using cvs nt?
> -Tim
>
>
> ---------------------------------------------------------------------
> 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 NT Repo

Posted by di...@multitask.com.au.
Tim Chen <tc...@tampabay.rr.com> wrote on 04/02/2004 07:02:35 AM:

> Stupid CVS NT Repos have connection strings such as:
> 
> chengt@xxx.cvs.net:d:/CVSREPO

Use:

scm|cvs|pserver|chengt@xxx.cvs.net|d:/CVSREPO|module
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


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


Re: CVS NT Repo

Posted by Tim Chen <tc...@tampabay.rr.com>.
Thanks to everyone that offered a solution :)
This one works with my default cvs checkout as well so I used it instead 
of using the pipe | approach which worked just as well for the reports.
Thanks again :)
-Tim

Cuong Tran wrote:

>Try this:
>
>  /d//CVSREPO
>
>--- Tim Chen <tc...@tampabay.rr.com> wrote:
>  
>
>>Stupid CVS NT Repos have connection strings such as:
>>
>>chengt@xxx.cvs.net:d:/CVSREPO
>>
>>This causes report errors:
>>BUILD FAILED
>>File...... file:/C:/Documents and 
>>Settings/chengt/.maven/plugins/maven-multiproject-plugin-1.1/
>>Element... maven:reactor
>>Line...... 69
>>Column.... 7
>>Unable to obtain goal [site] -- file:/C:/Documents and 
>>Settings/chengt/.maven/plugins/maven-xdoc-plugin-1.4/:399:9: 
>><velocity:merge> Invocation of method 'getCvsRoot' in  class 
>>org.apache.maven.project.Repository threw exception class 
>>java.lang.IllegalArgumentException : repository connection string 
>>contains more than six tokens
>>Total time: 23 seconds
>>Finished at: Tue Feb 03 14:55:30 EST 2004
>>
>>Anyone have a way around this? Anyone using cvs nt?
>>-Tim
>>
>>
>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>    
>>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free web site building tool. Try it!
>http://webhosting.yahoo.com/ps/sb/
>
>---------------------------------------------------------------------
>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 NT Repo

Posted by di...@multitask.com.au.
Use a separator other than ':'. I use '|'.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/



Cuong Tran <j4...@yahoo.com> wrote on 04/02/2004 08:12:11 AM:

> 
> Try this:
> 
>   /d//CVSREPO
> 
> --- Tim Chen <tc...@tampabay.rr.com> wrote:
> > Stupid CVS NT Repos have connection strings such as:
> > 
> > chengt@xxx.cvs.net:d:/CVSREPO
> > 
> > This causes report errors:
> > BUILD FAILED
> > File...... file:/C:/Documents and 
> > Settings/chengt/.maven/plugins/maven-multiproject-plugin-1.1/
> > Element... maven:reactor
> > Line...... 69
> > Column.... 7
> > Unable to obtain goal [site] -- file:/C:/Documents and 
> > Settings/chengt/.maven/plugins/maven-xdoc-plugin-1.4/:399:9: 
> > <velocity:merge> Invocation of method 'getCvsRoot' in  class 
> > org.apache.maven.project.Repository threw exception class 
> > java.lang.IllegalArgumentException : repository connection string 
> > contains more than six tokens
> > Total time: 23 seconds
> > Finished at: Tue Feb 03 14:55:30 EST 2004
> > 
> > Anyone have a way around this? Anyone using cvs nt?
> > -Tim
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
> 
> ---------------------------------------------------------------------
> 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 NT Repo

Posted by Cuong Tran <j4...@yahoo.com>.
Try this:

  /d//CVSREPO

--- Tim Chen <tc...@tampabay.rr.com> wrote:
> Stupid CVS NT Repos have connection strings such as:
> 
> chengt@xxx.cvs.net:d:/CVSREPO
> 
> This causes report errors:
> BUILD FAILED
> File...... file:/C:/Documents and 
> Settings/chengt/.maven/plugins/maven-multiproject-plugin-1.1/
> Element... maven:reactor
> Line...... 69
> Column.... 7
> Unable to obtain goal [site] -- file:/C:/Documents and 
> Settings/chengt/.maven/plugins/maven-xdoc-plugin-1.4/:399:9: 
> <velocity:merge> Invocation of method 'getCvsRoot' in  class 
> org.apache.maven.project.Repository threw exception class 
> java.lang.IllegalArgumentException : repository connection string 
> contains more than six tokens
> Total time: 23 seconds
> Finished at: Tue Feb 03 14:55:30 EST 2004
> 
> Anyone have a way around this? Anyone using cvs nt?
> -Tim
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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