The following comment has been added to this issue:

     Author: Ludovic Claude
    Created: Wed, 22 Oct 2003 7:54 AM
       Body:
I have also this strange error message. Give the format of the expected string in the 
error message. 

This is my connection setting in project.xml. What's wrong?    
<connection>scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot/cvsgrab</connection>

---------------------------------------------------------------------
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