The following comment has been added to this issue:

     Author: Per Olesen
    Created: Thu, 23 Oct 2003 3:00 PM
       Body:

To Ludovic:

Are you sure it is *perfectly* the same error message. Just had a look in the (HEAD) 
sources, seeing that it expects *exactly* 6 tokens. And you can get two error 
messages, that look a lot alike:

"repository connection string contains less than six tokens"

or

"repository connection string contains more than six tokens"

I suspect you are getting the first one, as you are having 5 tokens, as Don G. points 
out.

I think you need the cvs module name at the end too.


---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-897


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-897
    Summary: Not very informative error message on xdoc template error
       Type: Improvement

     Status: Unassigned
   Priority: Trivial

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-xdoc
   Fix Fors:
             1.1
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Per Olesen

    Created: Mon, 6 Oct 2003 1:56 PM
    Updated: Wed, 8 Oct 2003 10:26 AM

Description:
Hi,

Had a problem where a wrong value inside the project.xml <repository><connection>.... 
element gave me a not very informative error message:

File...... file:/home/polesen/.maven/plugins/maven-xdoc-plugin-1.4/
Element... velocity:merge
Line...... 399
Column.... 9
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

It took me some time, and some searching around inside the xdoc plugin files, to find 
out what my problem was.

I do not know if it is easy to give a better message, or if it is a result of the use 
of velocity templates!? Anyways, I think a newcomer will have some problems finding 
out what's wrong!

/Per


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to